fix url to admin panel

This commit is contained in:
slav0nic 2009-01-08 15:43:40 +02:00
parent a3cc53042a
commit c144724d6b
5 changed files with 11 additions and 6 deletions

View file

@ -17,7 +17,7 @@
<li id="navuserlist"><a href="{% url forum_users %}">{% trans "User list" %}</a></li>
<li id="navsearch"><a href="{% url search %}">{% trans "Search" %}</a></li>
{% if user.is_superuser %}
<li id="navadmin"><a href="/admin">{% trans "Administration" %}</a></li>
<li id="navadmin"><a href="{% url admincp "" %}">{% trans "Administration" %}</a></li>
{% endif %}
{% if user.is_authenticated %}
<li id="navprofile"><a href="{% url forum_profile request.user %}">{% trans "Profile" %}</a></li>
@ -41,7 +41,7 @@
<li>{% trans "You are not logged in." %}</li>
{% endif %}
{% if user.is_superuser and reports %}
<li class="reportlink"><strong><a href="/admin">{% trans "There are new reports" %} ({% new_reports %})</a></strong></li>
<li class="reportlink"><strong><a href="{% url admincp "" %}">{% trans "There are new reports" %} ({% new_reports %})</a></strong></li>
{% endif %}
</ul>
{% if user.is_authenticated %}