Correction bug #22 : correct admin url V00.06
authorymh <ymh.work@gmail.com>
Wed, 13 Jul 2011 14:16:04 +0200
changeset 102 ff480257d6fc
parent 101 0f4aa05034c3
child 103 f61dee6527e5
Correction bug #22 : correct admin url
web/hdabo/templates/hdabo_base.html
--- a/web/hdabo/templates/hdabo_base.html	Wed Jul 13 14:06:27 2011 +0200
+++ b/web/hdabo/templates/hdabo_base.html	Wed Jul 13 14:16:04 2011 +0200
@@ -59,7 +59,7 @@
     <ul><li><a href="{% url hdabo.views.home %}">Home</a></li>
     <li><a href="{% url hdabo.views.all_tags %}">Tous les tags</a></li>
     <li><a href="{% url haystack_search %}">Recherche</a></li>
-    <li><span style="float:right;">{{user.username}}&nbsp;|&nbsp;<a href="{% url django.contrib.auth.views.logout_then_login %}" >Se déconnecter</a>{% if user.is_staff %}&nbsp;|&nbsp;<a href="{{BASE_URL}}admin" >admin</a>{% endif %}</span></li>
+    <li><span style="float:right;">{{user.username}}&nbsp;|&nbsp;<a href="{% url django.contrib.auth.views.logout_then_login %}" >Se déconnecter</a>{% if user.is_staff %}&nbsp;|&nbsp;<a href="{% url admin:index %}" >admin</a>{% endif %}</span></li>
     </ul>
     {% endif %}
     {% endblock %}