Commit 6506c229 authored by erdnaxe's avatar erdnaxe 🎇

Fix site name

parent 11006819
Pipeline #1386 failed with stage
in 3 minutes and 30 seconds
......@@ -175,8 +175,6 @@ PASSWORD_HASHERS = (
)
AUTH_USER_MODEL = 'users.User'
LOGIN_URL = '/login/'
LOGIN_REDIRECT_URL = '/'
SITE_NAME = "Med"
# Association information
......
......@@ -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">
......
......@@ -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>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment