summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/toaster/toastergui/tables.py
diff options
context:
space:
mode:
Diffstat (limited to 'bitbake/lib/toaster/toastergui/tables.py')
-rw-r--r--bitbake/lib/toaster/toastergui/tables.py8
1 files changed, 6 insertions, 2 deletions
diff --git a/bitbake/lib/toaster/toastergui/tables.py b/bitbake/lib/toaster/toastergui/tables.py
index 79673f5dab..969eb04aaa 100644
--- a/bitbake/lib/toaster/toastergui/tables.py
+++ b/bitbake/lib/toaster/toastergui/tables.py
@@ -1197,9 +1197,13 @@ class BuildsTable(ToasterTable):
1197 1197
1198 time_template = ''' 1198 time_template = '''
1199 {% load projecttags %} 1199 {% load projecttags %}
1200 <a href="{% url "buildtime" data.id %}"> 1200 {% if data.outcome == extra.Build.SUCCEEDED %}
1201 <a href="{% url "buildtime" data.id %}">
1202 {{data.timespent_seconds | sectohms}}
1203 </a>
1204 {% else %}
1201 {{data.timespent_seconds | sectohms}} 1205 {{data.timespent_seconds | sectohms}}
1202 </a> 1206 {% endif %}
1203 ''' 1207 '''
1204 1208
1205 image_files_template = ''' 1209 image_files_template = '''