From: Alexandru DAMIAN Date: Wed, 11 Mar 2015 14:33:50 +0000 (+0000) Subject: toastergui: replace ETA with percentage X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=220f5b853fd3236b49faa5ec54c9c96050a84fa9;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git toastergui: replace ETA with percentage We replace the ETA (which was an inaccurate estimation) with the percentage of completed tasks. Signed-off-by: Alexandru DAMIAN --- diff --git a/lib/toaster/toastergui/templates/managed_mrb_section.html b/lib/toaster/toastergui/templates/managed_mrb_section.html index edaa08e0d98..51610e4ab3f 100644 --- a/lib/toaster/toastergui/templates/managed_mrb_section.html +++ b/lib/toaster/toastergui/templates/managed_mrb_section.html @@ -64,7 +64,7 @@
-
ETA: in {{build.eta|naturaltime}}
+
{{build.completeper}}% tasks completed
{%endif%} diff --git a/lib/toaster/toastergui/templates/project.html b/lib/toaster/toastergui/templates/project.html index f4a3a753586..badc8a6fcbe 100644 --- a/lib/toaster/toastergui/templates/project.html +++ b/lib/toaster/toastergui/templates/project.html @@ -202,7 +202,7 @@ vim: expandtab tabstop=2
-
ETA in {[b.build[0].eta|toeta|timediff]}
+
{[b.build[0].completeper]}% tasks completed