summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/toaster
diff options
context:
space:
mode:
authorAlexandru DAMIAN <alexandru.damian@intel.com>2015-03-11 14:33:50 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-03-16 17:44:12 +0000
commitc2a1e044c811c6a1174e17373b184d40caa829ed (patch)
tree652f064c8de6556cf2e1c028b9013f8b42fca8f3 /bitbake/lib/toaster
parentfb84086f7dd509d4c0e282af3b3cedde0802bd60 (diff)
downloadpoky-c2a1e044c811c6a1174e17373b184d40caa829ed.tar.gz
bitbake: toastergui: replace ETA with percentage
We replace the ETA (which was an inaccurate estimation) with the percentage of completed tasks. (Bitbake rev: 220f5b853fd3236b49faa5ec54c9c96050a84fa9) Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/toaster')
-rw-r--r--bitbake/lib/toaster/toastergui/templates/managed_mrb_section.html2
-rw-r--r--bitbake/lib/toaster/toastergui/templates/project.html2
2 files changed, 2 insertions, 2 deletions
diff --git a/bitbake/lib/toaster/toastergui/templates/managed_mrb_section.html b/bitbake/lib/toaster/toastergui/templates/managed_mrb_section.html
index edaa08e0d9..51610e4ab3 100644
--- a/bitbake/lib/toaster/toastergui/templates/managed_mrb_section.html
+++ b/bitbake/lib/toaster/toastergui/templates/managed_mrb_section.html
@@ -64,7 +64,7 @@
64 <div style="width: {{build.completeper}}%;" class="bar"></div> 64 <div style="width: {{build.completeper}}%;" class="bar"></div>
65 </div> 65 </div>
66 </div> 66 </div>
67 <div class="lead pull-right">ETA: in {{build.eta|naturaltime}}</div> 67 <div class="lead pull-right">{{build.completeper}}% tasks completed</div>
68 {%endif%} 68 {%endif%}
69 </div> 69 </div>
70 </div> 70 </div>
diff --git a/bitbake/lib/toaster/toastergui/templates/project.html b/bitbake/lib/toaster/toastergui/templates/project.html
index f4a3a75358..badc8a6fcb 100644
--- a/bitbake/lib/toaster/toastergui/templates/project.html
+++ b/bitbake/lib/toaster/toastergui/templates/project.html
@@ -202,7 +202,7 @@ vim: expandtab tabstop=2
202 <div style="width: {[b.build[0].completeper]}%;" class="bar"></div> 202 <div style="width: {[b.build[0].completeper]}%;" class="bar"></div>
203 </div> 203 </div>
204 </div> 204 </div>
205 <div class="text-right lead">ETA in {[b.build[0].eta|toeta|timediff]}</div> 205 <div class="text-right lead">{[b.build[0].completeper]}% tasks completed</div>
206 </case> 206 </case>
207 </case> 207 </case>
208 208