[PATCH 14/46] base: Don't display the breadcrumb bar on the project list page
Damien Lespiau
damien.lespiau at intel.com
Sun Nov 9 06:08:32 AEDT 2014
We already have the information on the main bar, no need to have a
breadcum bar here.
Signed-off-by: Damien Lespiau <damien.lespiau at intel.com>
---
templates/base.html | 7 ++-----
1 file changed, 2 insertions(+), 5 deletions(-)
diff --git a/templates/base.html b/templates/base.html
index 4733e2d..80e07dc 100644
--- a/templates/base.html
+++ b/templates/base.html
@@ -63,9 +63,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 %}"
@@ -74,14 +74,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 %}
--
1.8.3.1
More information about the Patchwork
mailing list