From 82d998d6c6378e4eb70b5712b339b6095ed7540a Mon Sep 17 00:00:00 2001 From: Elliot Smith Date: Tue, 12 Jul 2016 16:14:42 +0100 Subject: bitbake: toaster: show "Tasks starting..." until the first task completes To prevent showing a "0% of tasks complete" message for a long time, don't show the progress bar until the first task has finished. While waiting for that first task, show a message about tasks starting instead. [YOCTO #9631] (Bitbake rev: 5529bcd860d2932b967a064ae28690ac5a725342) Signed-off-by: Elliot Smith Signed-off-by: Richard Purdie --- .../toaster/toastergui/templates/mrb_section.html | 28 ++++++++++++++++++---- 1 file changed, 24 insertions(+), 4 deletions(-) (limited to 'bitbake/lib/toaster/toastergui/templates') diff --git a/bitbake/lib/toaster/toastergui/templates/mrb_section.html b/bitbake/lib/toaster/toastergui/templates/mrb_section.html index 880485d45f..b74f723932 100644 --- a/bitbake/lib/toaster/toastergui/templates/mrb_section.html +++ b/bitbake/lib/toaster/toastergui/templates/mrb_section.html @@ -71,6 +71,8 @@ <%include tmpl='#succeeded-or-failed-build-template'/%> <%else state == 'Cancelling'%> <%include tmpl='#cancelling-build-template'/%> + <%else state == 'Starting'%> + <%include tmpl='#starting-template'/%> <%else state == 'In Progress'%> <%include tmpl='#in-progress-build-template'/%> <%else state == 'Cancelled'%> @@ -81,8 +83,9 @@ - + + + +