diff options
author | David Reyna <David.Reyna@windriver.com> | 2014-03-21 05:35:50 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-03-28 13:44:26 +0000 |
commit | 09b099903bdf51bfb277b9a8f922255cfe83ab96 (patch) | |
tree | e20c296b925530ff4830e67ec7f3c0d3b524addb /lib/toaster/toastergui/templates/basebuildpage.html | |
parent | 794680f6480e0aea65f2ea611730083bc4aad0d5 (diff) | |
download | bitbake-09b099903bdf51bfb277b9a8f922255cfe83ab96.tar.gz |
toaster: add Image detail and multiple targets to dashboard
Filled in the Image section detail information and allow for multiple targets.
Each target has a separate section. Added license manifest display. Changed the
target of the license manifest link. Added Tasks failed in the build summary.
The target lists required filters to create sorted lists.
[YOCTO #4258]
[YOCTO #5936]
Signed-off-by: Farrell Wymore <farrell.wymore@windriver.com>
Diffstat (limited to 'lib/toaster/toastergui/templates/basebuildpage.html')
-rw-r--r-- | lib/toaster/toastergui/templates/basebuildpage.html | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/lib/toaster/toastergui/templates/basebuildpage.html b/lib/toaster/toastergui/templates/basebuildpage.html index 636fca28d..0ce5dbd27 100644 --- a/lib/toaster/toastergui/templates/basebuildpage.html +++ b/lib/toaster/toastergui/templates/basebuildpage.html @@ -1,4 +1,5 @@ {% extends "base.html" %} +{% load projecttags %} {% load humanize %} {% block pagecontent %} @@ -8,7 +9,7 @@ <div class="section"> <ul class="breadcrumb" id="breadcrumb"> <li><a href="{% url 'all-builds' %}">All builds</a></li> -<li><a href="{%url 'builddashboard' build.pk%}">{{build.target_set.all.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"}})</a></li> +<li><a href="{%url 'builddashboard' build.pk%}">{{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"}})</a></li> {% block localbreadcrumb %}{% endblock %} </ul> <script> @@ -25,10 +26,12 @@ <!-- begin left sidebar container --> <div id="nav" class="span2"> <ul class="nav nav-list well"> + {% if build.target_set.all.0.is_image %} <li class="nav-header">Images</li> - {% for t in build.target_set.all|dictsort:"target" %} + {% for t in build.get_sorted_target_list %} <li><a href="{% url 'target' build.pk t.pk %}">{{t.target}}</a><li> {% endfor %} + {% endif %} <li class="nav-header">Build</li> <li><a href="{% url 'configuration' build.pk %}">Configuration</a></li> <li><a href="{% url 'tasks' build.pk %}">Tasks</a></li> |