Parcourir la source

Allow customize title

Mehdi Abaakouk il y a 8 ans
Parent
commit
fc057149d5
2 fichiers modifiés avec 2 ajouts et 1 suppressions
  1. 1 0
      README.md
  2. 1 1
      wifiwithme/apps/contribmap/templates/base.html

+ 1 - 0
README.md

@@ -55,6 +55,7 @@ The wifi-with-me website URL (for links included in emails :)
 
     ISP={
         'NAME':'FAIMAISON',
+        'TITLE':'Réseau wifi expérimental',
         'SITE':'//www.faimaison.net',
         'EMAIL':'bureau (at) faimaison.net',
         'ZONE':'Nantes et environs',

+ 1 - 1
wifiwithme/apps/contribmap/templates/base.html

@@ -30,7 +30,7 @@
     <div class="container">
     <h1>
     {% block title %}
-      <a href="{% url 'home' %}">Réseau wifi expérimental</a>
+    <a href="{% url 'home' %}">{{ isp.TITLE }}</a>
     {% endblock %}
     </h1>
     </div>