summaryrefslogtreecommitdiffstats
path: root/bitbake/lib
diff options
context:
space:
mode:
Diffstat (limited to 'bitbake/lib')
-rw-r--r--bitbake/lib/toaster/toastergui/templates/basebuildpage.html7
1 files changed, 5 insertions, 2 deletions
diff --git a/bitbake/lib/toaster/toastergui/templates/basebuildpage.html b/bitbake/lib/toaster/toastergui/templates/basebuildpage.html
index 50658e0c51..01d3117e1e 100644
--- a/bitbake/lib/toaster/toastergui/templates/basebuildpage.html
+++ b/bitbake/lib/toaster/toastergui/templates/basebuildpage.html
@@ -38,10 +38,13 @@
38 $(this).parent().addClass("active"); 38 $(this).parent().addClass("active");
39 } else { 39 } else {
40 /* Special case the configvar as this is part of configuration 40 /* Special case the configvar as this is part of configuration
41 * page but is a separate url 41 * page but is a separate url, and the direct links to errors
42 * and warnings, which are part of the build dashboard
42 */ 43 */
43 if (window.location.pathname === configVarUrl){ 44 if (window.location.pathname === configVarUrl){
44 $("#menu-configuration").addClass("active"); 45 $("#menu-configuration").addClass("active");
46 } else if (currentUrl.indexOf('error') > 1 || currentUrl.indexOf('warning') > 1){
47 $("#menu-dashboard").addClass("active");
45 } else { 48 } else {
46 $(this).parent().removeClass("active"); 49 $(this).parent().removeClass("active");
47 } 50 }
@@ -57,7 +60,7 @@
57 <div class="row"> 60 <div class="row">
58 <div id="nav" class="col-md-2"> 61 <div id="nav" class="col-md-2">
59 <ul class="nav nav-pills nav-stacked" id="build-menu"> 62 <ul class="nav nav-pills nav-stacked" id="build-menu">
60 <li 63 <li id="menu-dashboard"
61 {% if request.resolver_match.url_name == 'builddashboard' %} 64 {% if request.resolver_match.url_name == 'builddashboard' %}
62 class="active" 65 class="active"
63 {% endif %} > 66 {% endif %} >