Fix site name

This commit is contained in:
Alexandre Iooss 2019-08-02 16:12:41 +02:00
parent 1100681952
commit 6506c229de
No known key found for this signature in database
GPG Key ID: 6C79278F3FCDCC02
3 changed files with 5 additions and 9 deletions

View File

@ -175,8 +175,6 @@ PASSWORD_HASHERS = (
)
AUTH_USER_MODEL = 'users.User'
LOGIN_URL = '/login/'
LOGIN_REDIRECT_URL = '/'
SITE_NAME = "Med"
# Association information

View File

@ -9,7 +9,7 @@ SPDX-License-Identifier: GPL-3.0-or-later
{% block title %}Accueil{% endblock %}
{% block content %}
<h1>Bienvenue sur {{ site_name }}, notre base de données.</h1>
<h1>Bienvenue sur la base de données de la Mediatek.</h1>
<h1>Welcome to procrastination heaven !</h1>
<p class="lead">

View File

@ -36,7 +36,7 @@ with this program; if not, write to the Free Software Foundation, Inc.,
{% bootstrap_javascript %}
<link rel="stylesheet" href="{% static "/css/base.css" %}">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>{{ site_name }} : {% block title %}Accueil{% endblock %}</title>
<title>{{ request.site.name }} : {% block title %}Accueil{% endblock %}</title>
</head>
<body>
@ -49,7 +49,7 @@ with this program; if not, write to the Free Software Foundation, Inc.,
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a class="navbar-brand" href="/">{{ site_name }}</a>
<a class="navbar-brand" href="/">{{ request.site.name }}</a>
</div>
<div class="collapse navbar-collapse" id="myNavbar">
<ul class="nav navbar-nav">
@ -105,8 +105,6 @@ with this program; if not, write to the Free Software Foundation, Inc.,
{# Display django.contrib.messages as Bootstrap alerts #}
{% bootstrap_messages %}
<hr>
{% block content %}{% endblock %}
</div>
<div class="col-sm-2 sidenav">
@ -139,8 +137,8 @@ with this program; if not, write to the Free Software Foundation, Inc.,
</div>
<footer class="navbar">
<div class="containerfluid text-center">
<p>Med 2017 - Gabriel Détraz (from Re2o 2016 - Détraz-Kermarec-Lemesle)</p>
<div class="container-fluid text-center">
<p>Mediatek 2017-2020 &mdash; <a href="mailto:club-med@crans.org">Nous contactez</a></p>
</div>
</footer>