From 056fbc47c76f5ff238fb01302f0dce457dabc08d Mon Sep 17 00:00:00 2001 From: David Reyna Date: Mon, 24 Mar 2014 19:50:50 -0700 Subject: 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 Signed-off-by: Richard Purdie --- bitbake/lib/toaster/toastergui/templates/builddashboard.html | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'bitbake/lib/toaster/toastergui/templates/builddashboard.html') diff --git a/bitbake/lib/toaster/toastergui/templates/builddashboard.html b/bitbake/lib/toaster/toastergui/templates/builddashboard.html index 9d91f4031f..65631286b1 100644 --- a/bitbake/lib/toaster/toastergui/templates/builddashboard.html +++ b/bitbake/lib/toaster/toastergui/templates/builddashboard.html @@ -2,6 +2,10 @@ {% load humanize %} {% load projecttags %} +{% block parentbreadcrumb %} +{{build.get_sorted_target_list.0.target}} {%if build.target_set.all.count > 1%}(+ {{build.target_set.all.count|add:"-1"}}){%endif%} {{build.machine}} ({{build.completed_on|date:"d/m/y H:i"}}) +{% endblock %} + {% block buildinfomain %}
-- cgit v1.2.3-54-g00ecf