project/templates/_menu_user.html
branch2011
changeset 428 d7fefdb4b947
parent 118 78dfa383f6a3
--- a/project/templates/_menu_user.html	Fri Sep 30 20:39:50 2011 +0530
+++ b/project/templates/_menu_user.html	Sat Oct 01 03:57:37 2011 +0530
@@ -6,14 +6,14 @@
             <strong>{{ user.username }}</strong>
         {% endif %} |
 
-        <a href="{% url scipycon_account params.scope %}">My profile</a> |
+        <a href="/{{params.scope }}/account/">My profile</a> |
 
         {% if user.is_superuser %}
                 <a href="/admin/">Administer</a> |
         {% endif %}
 
-        <a href="{% url scipycon_logout params.scope %}">Logout</a>
+        <a href="/{{params.scope }}/logout/">Logout</a>
     {% else %}
-        <a href="{% url scipycon_login params.scope %}">Login</a>
+        <a href="/{{params.scope }}/login/">Login</a>
     {% endif %}
 </div>