]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commitdiff
toastergui: replace ETA with percentage
authorAlexandru DAMIAN <alexandru.damian@intel.com>
Wed, 11 Mar 2015 14:33:50 +0000 (14:33 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 16 Mar 2015 17:43:51 +0000 (17:43 +0000)
We replace the ETA (which was an inaccurate estimation)
with the percentage of completed tasks.

Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com>
lib/toaster/toastergui/templates/managed_mrb_section.html
lib/toaster/toastergui/templates/project.html

index edaa08e0d98bb6324e1ea290e3bab3e651afc66f..51610e4ab3fc99dfaf8baf5d15a7a1b16da1abe4 100644 (file)
@@ -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>
index f4a3a7535864cf67de9151de821e9a9885d8eb7e..badc8a6fcbedfdb41c61232e913128dfd50fb6bd 100644 (file)
@@ -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>