aboutsummaryrefslogtreecommitdiff
path: root/templates/base.html
diff options
context:
space:
mode:
authorDamien Lespiau <damien.lespiau@intel.com>2015-12-21 12:12:28 +0000
committerStephen Finucane <stephen.finucane@intel.com>2016-02-08 19:03:50 +0000
commit8b7686452cbb9c411373dd009c66295500f677b0 (patch)
treeb99dd34ea4c77bec4725f4340ff930c3a46e59ce /templates/base.html
parent5755e6e246d30c0c24f09c52463e4ca23f5f8478 (diff)
downloadpatchwork-8b7686452cbb9c411373dd009c66295500f677b0.tar
patchwork-8b7686452cbb9c411373dd009c66295500f677b0.tar.gz
ui: Make the project a unit with 'Patchwork' in the menu bar
Both should be styled the same and be a link to the home page. Signed-off-by: Damien Lespiau <damien.lespiau@intel.com>
Diffstat (limited to 'templates/base.html')
-rw-r--r--templates/base.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/base.html b/templates/base.html
index 2a1dca1..8e101dd 100644
--- a/templates/base.html
+++ b/templates/base.html
@@ -33,8 +33,8 @@
<span class="icon-bar"></span>
</button>
<span class="navbar-brand">
- <a href="{% url 'project-list' %}">Patchwork</a>
- {% block heading %}{{project.name}}{% endblock %}
+ <a href="{% url 'project-list' %}">Patchwork{% if project %} {{project.name}}{% endif %}</a>
+ {% block heading %}{% endblock %}
</span>
</div>
<div class="collapse navbar-collapse" id="navbar-collapse">