From: Damien Lespiau Date: Mon, 21 Dec 2015 12:12:28 +0000 (+0000) Subject: ui: Make the project a unit with 'Patchwork' in the menu bar X-Git-Tag: v1.1.0~26 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8b7686452cbb9c411373dd009c66295500f677b0;p=thirdparty%2Fpatchwork.git 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 --- diff --git a/htdocs/css/style.css b/htdocs/css/style.css index 05d9db93..e5c6600e 100644 --- a/htdocs/css/style.css +++ b/htdocs/css/style.css @@ -21,6 +21,10 @@ pre { top: 17em; } +.navbar-brand>a { + color: white; +} + .navbar-patchwork { border-radius: 0px; margin-bottom: 0px; diff --git a/templates/base.html b/templates/base.html index 2a1dca17..8e101dde 100644 --- a/templates/base.html +++ b/templates/base.html @@ -33,8 +33,8 @@ - Patchwork - {% block heading %}{{project.name}}{% endblock %} + Patchwork{% if project %} {{project.name}}{% endif %} + {% block heading %}{% endblock %}