mirror of
https://git.yoctoproject.org/poky
synced 2026-03-02 05:19:40 +01:00
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 <belen.barros.pena@intel.com> Signed-off-by: Elliot Smith <elliot.smith@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
ae329b7633
commit
ab9644f7ac
@@ -89,8 +89,9 @@
|
||||
<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>
|
||||
{% endif %}
|
||||
</span>
|
||||
{% if request.resolver_match.url_name != 'landing' and request.resolver_match.url_name != 'newproject' %}
|
||||
<ul class="nav">
|
||||
<li {% if "builds" in request.path %}
|
||||
<li {% if request.resolver_match.url_name == 'all-builds' %}
|
||||
class="active"
|
||||
{% endif %}>
|
||||
<a href="{% url 'all-builds' %}">
|
||||
@@ -98,7 +99,7 @@
|
||||
All builds
|
||||
</a>
|
||||
</li>
|
||||
<li {% if "projects" in request.path %}
|
||||
<li {% if request.resolver_match.url_name == 'all-projects' %}
|
||||
class="active"
|
||||
{% endif %}>
|
||||
<a href="{% url 'all-projects' %}">
|
||||
@@ -107,6 +108,7 @@
|
||||
</a>
|
||||
</li>
|
||||
</ul>
|
||||
{% endif %}
|
||||
<ul class="nav pull-right">
|
||||
<li>
|
||||
<a target="_blank" href="http://www.yoctoproject.org/docs/latest/toaster-manual/toaster-manual.html">
|
||||
|
||||
Reference in New Issue
Block a user