[bitbake-devel] [PATCH 01/27] toastergui: remove time link for failed build requests

Alex DAMIAN alexandru.damian at intel.com
Mon Feb 9 18:01:31 UTC 2015


From: Belen Barros Pena <belen.barros.pena at intel.com>

Failed build requests do not have a build time page where
you can look at the time spent on each task. Therefore,
their build time information cannot be a link to such
a page.

Signed-off-by: Belen Barros Pena <belen.barros.pena at intel.com>
---
 lib/toaster/toastergui/templates/managed_mrb_section.html | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/toaster/toastergui/templates/managed_mrb_section.html b/lib/toaster/toastergui/templates/managed_mrb_section.html
index d2ffdcd..c7ae6fd 100644
--- a/lib/toaster/toastergui/templates/managed_mrb_section.html
+++ b/lib/toaster/toastergui/templates/managed_mrb_section.html
@@ -100,7 +100,7 @@
             </div>
             <div class="lead ">
               <span class="lead{%if not MANAGED or not buildrequest.project%} pull-right{%endif%}">
-                Build time: <a href="{% url 'buildrequestdetails' buildrequest.project.id buildrequest.pk %}">{{ buildrequest.get_duration|sectohms }}</a>
+                Build time: {{ buildrequest.get_duration|sectohms }}
               </span>
               <button class="btn btn-danger pull-right" onclick='scheduleBuild({% url 'xhr_projectbuild' buildrequest.project.id as bpi%}{{bpi|json}}, {{buildrequest.project.name|json}}, {{buildrequest.get_sorted_target_list|mapselect:'target'|json}})'>Run again</button>
 
-- 
1.9.1



More information about the bitbake-devel mailing list