diff options
Diffstat (limited to 'templates/base.html')
-rw-r--r-- | templates/base.html | 4 |
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"> |