1
0
mirror of https://gitlab.crans.org/mediatek/med.git synced 2025-06-30 00:31:08 +02:00

Fix site name

This commit is contained in:
Alexandre Iooss
2019-08-02 16:12:41 +02:00
parent 1100681952
commit 6506c229de
3 changed files with 5 additions and 9 deletions

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>