[bitbake-devel] [PATCH 15/17] toastergui: replace ETA with percentage
Alex DAMIAN
alexandru.damian at intel.com
Thu Mar 12 10:46:48 UTC 2015
From: Alexandru DAMIAN <alexandru.damian at intel.com>
We replace the ETA (which was an inaccurate estimation)
with the percentage of completed tasks.
Signed-off-by: Alexandru DAMIAN <alexandru.damian at intel.com>
---
lib/toaster/toastergui/templates/managed_mrb_section.html | 2 +-
lib/toaster/toastergui/templates/project.html | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/lib/toaster/toastergui/templates/managed_mrb_section.html b/lib/toaster/toastergui/templates/managed_mrb_section.html
index edaa08e..51610e4 100644
--- a/lib/toaster/toastergui/templates/managed_mrb_section.html
+++ b/lib/toaster/toastergui/templates/managed_mrb_section.html
@@ -64,7 +64,7 @@
<div style="width: {{build.completeper}}%;" class="bar"></div>
</div>
</div>
- <div class="lead pull-right">ETA: in {{build.eta|naturaltime}}</div>
+ <div class="lead pull-right">{{build.completeper}}% tasks completed</div>
{%endif%}
</div>
</div>
diff --git a/lib/toaster/toastergui/templates/project.html b/lib/toaster/toastergui/templates/project.html
index f4a3a75..badc8a6 100644
--- a/lib/toaster/toastergui/templates/project.html
+++ b/lib/toaster/toastergui/templates/project.html
@@ -202,7 +202,7 @@ vim: expandtab tabstop=2
<div style="width: {[b.build[0].completeper]}%;" class="bar"></div>
</div>
</div>
- <div class="text-right lead">ETA in {[b.build[0].eta|toeta|timediff]}</div>
+ <div class="text-right lead">{[b.build[0].completeper]}% tasks completed</div>
</case>
</case>
--
1.9.1
More information about the bitbake-devel
mailing list