summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorDamien Lespiau <damien.lespiau@intel.com>2014-09-20 23:13:15 +0100
committerStephen Finucane <stephen.finucane@intel.com>2015-11-05 03:51:34 +0000
commit3813b420175720ea4dea0baf0a2ccce380ac8ef0 (patch)
tree2b19c65b823b59fc838cdcde1083c4ea615856db /templates
parentb307635e0b03dcbf3959209a2477a36f9043f205 (diff)
downloadpatchwork-3813b420175720ea4dea0baf0a2ccce380ac8ef0.tar
patchwork-3813b420175720ea4dea0baf0a2ccce380ac8ef0.tar.gz
base: Don't display the breadcrumb bar on the project list page
We already have the information on the main bar, no need to have a breadcum bar here. Signed-off-by: Damien Lespiau <damien.lespiau@intel.com>
Diffstat (limited to 'templates')
-rw-r--r--templates/base.html7
1 files changed, 2 insertions, 5 deletions
diff --git a/templates/base.html b/templates/base.html
index f992f94..75083b6 100644
--- a/templates/base.html
+++ b/templates/base.html
@@ -59,9 +59,9 @@
</div>
</div>
</nav>
+{% if project %}
<div id="nav">
<div id="navleft">
- {% if project %}
<strong>Project</strong>: {{ project.linkname }}
:
<a href="{% url 'patchwork.views.patch.list' project_id=project.linkname %}"
@@ -70,14 +70,11 @@
:
<a href="{% url 'patchwork.views.projects' %}"
>other projects</a>
- {% endif %}
- {% else %}
- <a href="{% url 'patchwork.views.projects' %}"
- >project list</a>
{% endif %}
</div>
<div style="clear: both"></div>
</div>
+{% endif %}
{% if messages %}
<div id="messages">
{% for message in messages %}