summaryrefslogtreecommitdiff
path: root/templates/base.html
diff options
context:
space:
mode:
Diffstat (limited to 'templates/base.html')
-rw-r--r--templates/base.html8
1 files changed, 5 insertions, 3 deletions
diff --git a/templates/base.html b/templates/base.html
index bf01fcf..f992f94 100644
--- a/templates/base.html
+++ b/templates/base.html
@@ -35,6 +35,11 @@
</div>
<div class="collapse navbar-collapse" id="navbar-collapse">
<ul class="nav navbar-nav navbar-right">
+{% if project %}
+ <li><a href="{% url 'patchwork.views.project.project' project_id=project.linkname %}"
+ >Project Info</a></li>
+ <li><p class="navbar-text">|</p></li>
+{% endif %}
{% if user.is_authenticated %}
<li><p class="navbar-text">Logged in as <a href="{% url 'patchwork.views.user.profile' %}"
><strong>{{ user.username }}</strong></a></p></li>
@@ -61,9 +66,6 @@
:
<a href="{% url 'patchwork.views.patch.list' project_id=project.linkname %}"
>patches</a>
- :
- <a href="{% url 'patchwork.views.project.project' project_id=project.linkname %}"
- >project info</a>
{% if other_projects %}
:
<a href="{% url 'patchwork.views.projects' %}"