- <a href="{% url patchwork.views.user.profile %}">profile</a> ::
- <a href="{% url patchwork.views.user.todo_lists %}">todo
- ({{ user.get_profile.n_todo_patches }})</a><br/>
- <a href="{% url auth_logout %}">logout</a> ::
- <a href="{% url patchwork.views.help path="about/" %}">about</a>
+ <a href="{% url 'patchwork.views.user.todo_lists' %}">todo
+ ({{ user.get_profile.n_todo_patches }})</a> ::
+ <a href="{% url 'patchwork.views.bundle.bundles' %}">bundles</a>
+ <br/>
+ <a href="{% url 'patchwork.views.user.profile' %}">profile</a> ::
+{% if user.is_staff %}
+ <a href="{% url 'admin:index' %}">admin</a> ::
+{% endif %}
+ <a href="{% url 'auth_logout' %}">logout</a>