summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--bitbake/lib/toaster/toastergui/templates/builddashboard.html5
1 files changed, 2 insertions, 3 deletions
diff --git a/bitbake/lib/toaster/toastergui/templates/builddashboard.html b/bitbake/lib/toaster/toastergui/templates/builddashboard.html
index acf4d0a..a1481e3 100644
--- a/bitbake/lib/toaster/toastergui/templates/builddashboard.html
+++ b/bitbake/lib/toaster/toastergui/templates/builddashboard.html
@@ -70,8 +70,8 @@
{%if build.outcome == build.SUCCEEDED%}
<!-- built images -->
+{% if hasImages %}
<div class="row-fluid span10 pull-right">
- {% if hasImages %}
<h2>Images</h2>
{% for target in targets %}
{% if target.target.is_image %}
@@ -123,9 +123,8 @@
</div>
{% endif %}
{% endfor %}
-
- {% endif %}
</div>
+{% endif %}
{%else%}
<!-- error dump -->
OpenPOWER on IntegriCloud