diff options
Diffstat (limited to 'bitbake/lib/toaster/toastergui/templates/basebuildpage.html')
-rw-r--r-- | bitbake/lib/toaster/toastergui/templates/basebuildpage.html | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/bitbake/lib/toaster/toastergui/templates/basebuildpage.html b/bitbake/lib/toaster/toastergui/templates/basebuildpage.html index 636fca28dd..0ce5dbd27f 100644 --- a/bitbake/lib/toaster/toastergui/templates/basebuildpage.html +++ b/bitbake/lib/toaster/toastergui/templates/basebuildpage.html | |||
@@ -1,4 +1,5 @@ | |||
1 | {% extends "base.html" %} | 1 | {% extends "base.html" %} |
2 | {% load projecttags %} | ||
2 | {% load humanize %} | 3 | {% load humanize %} |
3 | {% block pagecontent %} | 4 | {% block pagecontent %} |
4 | 5 | ||
@@ -8,7 +9,7 @@ | |||
8 | <div class="section"> | 9 | <div class="section"> |
9 | <ul class="breadcrumb" id="breadcrumb"> | 10 | <ul class="breadcrumb" id="breadcrumb"> |
10 | <li><a href="{% url 'all-builds' %}">All builds</a></li> | 11 | <li><a href="{% url 'all-builds' %}">All builds</a></li> |
11 | <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> | 12 | <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> |
12 | {% block localbreadcrumb %}{% endblock %} | 13 | {% block localbreadcrumb %}{% endblock %} |
13 | </ul> | 14 | </ul> |
14 | <script> | 15 | <script> |
@@ -25,10 +26,12 @@ | |||
25 | <!-- begin left sidebar container --> | 26 | <!-- begin left sidebar container --> |
26 | <div id="nav" class="span2"> | 27 | <div id="nav" class="span2"> |
27 | <ul class="nav nav-list well"> | 28 | <ul class="nav nav-list well"> |
29 | {% if build.target_set.all.0.is_image %} | ||
28 | <li class="nav-header">Images</li> | 30 | <li class="nav-header">Images</li> |
29 | {% for t in build.target_set.all|dictsort:"target" %} | 31 | {% for t in build.get_sorted_target_list %} |
30 | <li><a href="{% url 'target' build.pk t.pk %}">{{t.target}}</a><li> | 32 | <li><a href="{% url 'target' build.pk t.pk %}">{{t.target}}</a><li> |
31 | {% endfor %} | 33 | {% endfor %} |
34 | {% endif %} | ||
32 | <li class="nav-header">Build</li> | 35 | <li class="nav-header">Build</li> |
33 | <li><a href="{% url 'configuration' build.pk %}">Configuration</a></li> | 36 | <li><a href="{% url 'configuration' build.pk %}">Configuration</a></li> |
34 | <li><a href="{% url 'tasks' build.pk %}">Tasks</a></li> | 37 | <li><a href="{% url 'tasks' build.pk %}">Tasks</a></li> |