mirror of
https://git.yoctoproject.org/poky
synced 2026-06-01 13:09:50 +00:00
bitbake: toaster: blocks for custom/highlighted navigation and breadcrumb links
Implement the navigation links as blocks so that each page can override and have its respective link appear highlighted. Make the build breadcrumb a block so that it is customizable to not be a link for the dashboard page. Reorder the page headers to be consistent order for extends, projecttags, localbreadcrumb, nav-links. [YOCTO #5916] [YOCTO #4258] (Bitbake rev: cb26c4df04170143babd6c9fd60600bfb31486ed) Signed-off-by: David Reyna <David.Reyna@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
405e190b31
commit
056fbc47c7
@@ -5,6 +5,16 @@
|
||||
|
||||
{% load projecttags %}
|
||||
|
||||
{% block nav-target %}
|
||||
{% for t in build.get_sorted_target_list %}
|
||||
{% ifequal target.pk t.pk %}
|
||||
<li class="active"><a href="{% url 'target' build.pk t.pk %}">{{t.target}}</a><li>
|
||||
{% else %}
|
||||
<li><a href="{% url 'target' build.pk t.pk %}">{{t.target}}</a><li>
|
||||
{% endifequal %}
|
||||
{% endfor %}
|
||||
{% endblock %}
|
||||
|
||||
{% block buildinfomain %}
|
||||
|
||||
<div class="row-fluid span10">
|
||||
|
||||
Reference in New Issue
Block a user