diff options
-rw-r--r-- | bitbake/lib/toaster/toastergui/templates/base.html | 6 |
1 files changed, 4 insertions, 2 deletions
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 @@ | |||
89 | <i class="icon-info-sign" title="<strong>Toaster version information</strong>" data-content="<dl><dt>Branch</dt><dd>{{TOASTER_BRANCH}}</dd><dt>Revision</dt><dd>{{TOASTER_REVISION}}</dd></dl>"></i> | 89 | <i class="icon-info-sign" title="<strong>Toaster version information</strong>" data-content="<dl><dt>Branch</dt><dd>{{TOASTER_BRANCH}}</dd><dt>Revision</dt><dd>{{TOASTER_REVISION}}</dd></dl>"></i> |
90 | {% endif %} | 90 | {% endif %} |
91 | </span> | 91 | </span> |
92 | {% if request.resolver_match.url_name != 'landing' and request.resolver_match.url_name != 'newproject' %} | ||
92 | <ul class="nav"> | 93 | <ul class="nav"> |
93 | <li {% if "builds" in request.path %} | 94 | <li {% if request.resolver_match.url_name == 'all-builds' %} |
94 | class="active" | 95 | class="active" |
95 | {% endif %}> | 96 | {% endif %}> |
96 | <a href="{% url 'all-builds' %}"> | 97 | <a href="{% url 'all-builds' %}"> |
@@ -98,7 +99,7 @@ | |||
98 | All builds | 99 | All builds |
99 | </a> | 100 | </a> |
100 | </li> | 101 | </li> |
101 | <li {% if "projects" in request.path %} | 102 | <li {% if request.resolver_match.url_name == 'all-projects' %} |
102 | class="active" | 103 | class="active" |
103 | {% endif %}> | 104 | {% endif %}> |
104 | <a href="{% url 'all-projects' %}"> | 105 | <a href="{% url 'all-projects' %}"> |
@@ -107,6 +108,7 @@ | |||
107 | </a> | 108 | </a> |
108 | </li> | 109 | </li> |
109 | </ul> | 110 | </ul> |
111 | {% endif %} | ||
110 | <ul class="nav pull-right"> | 112 | <ul class="nav pull-right"> |
111 | <li> | 113 | <li> |
112 | <a target="_blank" href="http://www.yoctoproject.org/docs/latest/toaster-manual/toaster-manual.html"> | 114 | <a target="_blank" href="http://www.yoctoproject.org/docs/latest/toaster-manual/toaster-manual.html"> |