summaryrefslogtreecommitdiffstats
path: root/bitbake
diff options
context:
space:
mode:
authorBelen Barros Pena <belen.barros.pena@intel.com>2015-09-21 19:01:09 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-09-23 22:44:56 +0100
commitfb26ea36050405a47c032226d525f7bb878e91b9 (patch)
treecb8c445c06c8cda0ad3d88c9fecab27edfc9869e /bitbake
parent15b482b16b2340edc6f59a9c9e1d7f38bda9b6c2 (diff)
downloadpoky-fb26ea36050405a47c032226d525f7bb878e91b9.tar.gz
bitbake: toaster: remove time from builds in progress
In the 'latest builds' section of the all builds page, completed builds show the time they completed at. Builds in progress should not display such time, since they haven't completed yet. This patch removes the time information that was showing for builds in progress, whatever that time actually was. (Bitbake rev: 0df02c87573bf9a66df2e424cd9534e67a8ab3dc) Signed-off-by: Belen Barros Pena <belen.barros.pena@intel.com> Signed-off-by: Elliot Smith <elliot.smith@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake')
-rw-r--r--bitbake/lib/toaster/toastergui/templates/mrb_section.html4
1 files changed, 3 insertions, 1 deletions
diff --git a/bitbake/lib/toaster/toastergui/templates/mrb_section.html b/bitbake/lib/toaster/toastergui/templates/mrb_section.html
index 13e2d0e452..b2c49fe365 100644
--- a/bitbake/lib/toaster/toastergui/templates/mrb_section.html
+++ b/bitbake/lib/toaster/toastergui/templates/mrb_section.html
@@ -51,6 +51,7 @@
51 </a> 51 </a>
52 {% endif %} 52 {% endif %}
53 </div> 53 </div>
54 {% if build.outcome == build.SUCCEEDED or build.outcome == build.FAILED %}
54 <div class="span2 lead"> 55 <div class="span2 lead">
55 {% if build.completed_on|format_build_date %} 56 {% if build.completed_on|format_build_date %}
56 {{ build.completed_on|date:'d/m/y H:i' }} 57 {{ build.completed_on|date:'d/m/y H:i' }}
@@ -58,6 +59,7 @@
58 {{ build.completed_on|date:'H:i' }} 59 {{ build.completed_on|date:'H:i' }}
59 {% endif %} 60 {% endif %}
60 </div> 61 </div>
62 {% endif %}
61 {%if build.outcome == build.SUCCEEDED or build.outcome == build.FAILED %} 63 {%if build.outcome == build.SUCCEEDED or build.outcome == build.FAILED %}
62 <div class="span2 lead"> 64 <div class="span2 lead">
63 {% if build.errors.count %} 65 {% if build.errors.count %}
@@ -92,7 +94,7 @@
92 </div> 94 </div>
93 {%endif%} 95 {%endif%}
94 {%if build.outcome == build.IN_PROGRESS %} 96 {%if build.outcome == build.IN_PROGRESS %}
95 <div class="span4"> 97 <div class="span4 offset1">
96 <div class="progress" style="margin-top:5px;" data-toggle="tooltip" title="{{build.completeper}}% of tasks complete"> 98 <div class="progress" style="margin-top:5px;" data-toggle="tooltip" title="{{build.completeper}}% of tasks complete">
97 <div style="width: {{build.completeper}}%;" class="bar"></div> 99 <div style="width: {{build.completeper}}%;" class="bar"></div>
98 </div> 100 </div>