summaryrefslogtreecommitdiffstats
path: root/lib/toaster/toastergui/templates/builddashboard.html
diff options
context:
space:
mode:
authorBelen Barros Pena <belen.barros.pena@linux.intel.com>2014-09-29 14:23:22 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2014-10-30 13:39:37 +0000
commite84db294f733464b4952a3c92120e5b19e8c2750 (patch)
treed75d6a2cbf000507fe211dcbade7e2925c62caa3 /lib/toaster/toastergui/templates/builddashboard.html
parentacf372eb5a083451ab1507dd24e3a84380420c9a (diff)
downloadbitbake-e84db294f733464b4952a3c92120e5b19e8c2750.tar.gz
toastergui: Remove extra <div> from build dashboard
For builds that generate no rootfs files, an extra <div> was being added between the build status and the build summary section. This commit removes the extra <div> and the white space it created. Signed-off-by: Belen Barros Pena <belen.barros.pena@linux.intel.com>
Diffstat (limited to 'lib/toaster/toastergui/templates/builddashboard.html')
-rw-r--r--lib/toaster/toastergui/templates/builddashboard.html5
1 files changed, 2 insertions, 3 deletions
diff --git a/lib/toaster/toastergui/templates/builddashboard.html b/lib/toaster/toastergui/templates/builddashboard.html
index acf4d0a36..a1481e343 100644
--- a/lib/toaster/toastergui/templates/builddashboard.html
+++ b/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 -->