summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/toaster/toastergui/templates/basebuildpage.html
diff options
context:
space:
mode:
Diffstat (limited to 'bitbake/lib/toaster/toastergui/templates/basebuildpage.html')
-rw-r--r--bitbake/lib/toaster/toastergui/templates/basebuildpage.html8
1 files changed, 5 insertions, 3 deletions
diff --git a/bitbake/lib/toaster/toastergui/templates/basebuildpage.html b/bitbake/lib/toaster/toastergui/templates/basebuildpage.html
index 856259a69d..e9927ebbaa 100644
--- a/bitbake/lib/toaster/toastergui/templates/basebuildpage.html
+++ b/bitbake/lib/toaster/toastergui/templates/basebuildpage.html
@@ -33,7 +33,7 @@
33 33
34 $("#build-menu li a").each(function(){ 34 $("#build-menu li a").each(function(){
35 /* Set the page active state in the Build menu */ 35 /* Set the page active state in the Build menu */
36 var currentUrl = window.location.href.split('?')[0]; 36 var currentUrl = window.location.href.split('?')[0];
37 if (currentUrl === $(this).prop("href")){ 37 if (currentUrl === $(this).prop("href")){
38 $(this).parent().addClass("active"); 38 $(this).parent().addClass("active");
39 } else { 39 } else {
@@ -62,11 +62,13 @@
62 {% endif %} > 62 {% endif %} >
63 <a href="{% url 'builddashboard' build.pk %}">Build summary</a> 63 <a href="{% url 'builddashboard' build.pk %}">Build summary</a>
64 </li> 64 </li>
65 {% if build.target_set.all.0.is_image and build.outcome == 0 %} 65 {% if build.has_images and build.outcome == build.SUCCEEDED %}
66 <li class="nav-header">Images</li> 66 <li class="nav-header">Images</li>
67 {% block nav-target %} 67 {% block nav-target %}
68 {% for t in build.get_sorted_target_list %} 68 {% for t in build.get_sorted_target_list %}
69 <li id="menu-{{t.target}}"><a href="{% url 'target' build.pk t.pk %}">{{t.target}}</a><li> 69 {% if t.has_images %}
70 <li id="menu-{{t.target}}"><a href="{% url 'target' build.pk t.pk %}">{{t.target}}</a><li>
71 {% endif %}
70 {% endfor %} 72 {% endfor %}
71 {% endblock %} 73 {% endblock %}
72 {% endif %} 74 {% endif %}