summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/toaster/toastergui/templates
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:48 +0000
commit754f3e7e0a36c3d10663a0e61d2e3dbcfd3038e7 (patch)
treef252f9715ab4cbfb40691c7a295e4010cbc29ca1 /bitbake/lib/toaster/toastergui/templates
parentceb113971a18a3b6b2cd10ab629beac81f335ece (diff)
downloadast2050-yocto-poky-754f3e7e0a36c3d10663a0e61d2e3dbcfd3038e7.zip
ast2050-yocto-poky-754f3e7e0a36c3d10663a0e61d2e3dbcfd3038e7.tar.gz
bitbake: 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. (Bitbake rev: e84db294f733464b4952a3c92120e5b19e8c2750) Signed-off-by: Belen Barros Pena <belen.barros.pena@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/toaster/toastergui/templates')
-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