From fb26ea36050405a47c032226d525f7bb878e91b9 Mon Sep 17 00:00:00 2001 From: Belen Barros Pena Date: Mon, 21 Sep 2015 19:01:09 +0100 Subject: 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 Signed-off-by: Elliot Smith Signed-off-by: Richard Purdie --- bitbake/lib/toaster/toastergui/templates/mrb_section.html | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 @@ {% endif %} + {% if build.outcome == build.SUCCEEDED or build.outcome == build.FAILED %}
{% if build.completed_on|format_build_date %} {{ build.completed_on|date:'d/m/y H:i' }} @@ -58,6 +59,7 @@ {{ build.completed_on|date:'H:i' }} {% endif %}
+ {% endif %} {%if build.outcome == build.SUCCEEDED or build.outcome == build.FAILED %}
{% if build.errors.count %} @@ -92,7 +94,7 @@
{%endif%} {%if build.outcome == build.IN_PROGRESS %} -
+
-- cgit v1.2.3-54-g00ecf