From 657dce56798ed58bde08ea2f808989a516964671 Mon Sep 17 00:00:00 2001 From: Stephen Finucane Date: Tue, 29 Mar 2016 17:10:20 +0100 Subject: ui: Cleanup the navbar "brand" The text shown in the top-left corner of a navbar, known as the "brand" in Bootstrap parlance, normally brings you to the homepage. However, when viewing patches or details about a project this name of this project is included in this link. This gave some users the idea that clicking this button would return them to the project patch list instead. To resolve this confusion, break the project name and any other non-Patchwork title out of this clickable link. A new "navbar-subnav" style is introduced to do this, seeing as Bootstrap does not appear to support something like this natively. Once this is done, this also allows for the removal of the "All Projects" button, which both duplicates this functionality and did nothing when there was only one project available on an instance. Signed-off-by: Stephen Finucane --- templates/base.html | 16 +++++----------- 1 file changed, 5 insertions(+), 11 deletions(-) (limited to 'templates') diff --git a/templates/base.html b/templates/base.html index 8521edf..af0c124 100644 --- a/templates/base.html +++ b/templates/base.html @@ -23,7 +23,7 @@ {% block headers %}{% endblock %} -