From ab9644f7aca3de443d8da323b7937c4c10d266a1 Mon Sep 17 00:00:00 2001 From: Belen Barros Pena Date: Fri, 28 Aug 2015 17:27:55 +0100 Subject: bitbake: toaster: fix global navigation The "All builds" item in the global navigation should only be active when you are in the "all builds" page. The global navigation should not appear at all in the landing page and in the new project page. (Bitbake rev: 120816b133b9c160c68c911a9f4c612ce2f8a9ed) Signed-off-by: Belen Barros Pena Signed-off-by: Elliot Smith Signed-off-by: Richard Purdie --- bitbake/lib/toaster/toastergui/templates/base.html | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'bitbake/lib/toaster/toastergui/templates/base.html') diff --git a/bitbake/lib/toaster/toastergui/templates/base.html b/bitbake/lib/toaster/toastergui/templates/base.html index f187100264..0b93bb3dde 100644 --- a/bitbake/lib/toaster/toastergui/templates/base.html +++ b/bitbake/lib/toaster/toastergui/templates/base.html @@ -89,8 +89,9 @@ {% endif %} + {% if request.resolver_match.url_name != 'landing' and request.resolver_match.url_name != 'newproject' %} + {% endif %}