diff options
Diffstat (limited to 'bitbake/lib/toaster/toastergui/templates/builddashboard.html')
-rw-r--r-- | bitbake/lib/toaster/toastergui/templates/builddashboard.html | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/bitbake/lib/toaster/toastergui/templates/builddashboard.html b/bitbake/lib/toaster/toastergui/templates/builddashboard.html index 07fc26c6dd..61ae583d23 100644 --- a/bitbake/lib/toaster/toastergui/templates/builddashboard.html +++ b/bitbake/lib/toaster/toastergui/templates/builddashboard.html | |||
@@ -38,8 +38,15 @@ | |||
38 | {% endif %} | 38 | {% endif %} |
39 | <span class="pull-right"> | 39 | <span class="pull-right"> |
40 | Build time: | 40 | Build time: |
41 | <a class="alert-link" href="{% url 'buildtime' build.pk %}">{{ build.timespent_seconds|sectohms }}</a> | 41 | <span data-build-field="buildtime"> |
42 | </span> | 42 | {% if build.outcome == build.SUCCEEDED %} |
43 | <a href="{% url 'buildtime' build.pk %}">{{ build.timespent_seconds|sectohms }}</a> | ||
44 | {% else %} | ||
45 | {{ build.timespent_seconds|sectohms }} | ||
46 | {% endif %} | ||
47 | </span> | ||
48 | </span> | ||
49 | |||
43 | {%endif%} | 50 | {%endif%} |
44 | </div> | 51 | </div> |
45 | 52 | ||