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, 6 insertions, 5 deletions
diff --git a/bitbake/lib/toaster/toastergui/templates/builddashboard.html b/bitbake/lib/toaster/toastergui/templates/builddashboard.html index 2458cdb6d1..c0898e291d 100644 --- a/bitbake/lib/toaster/toastergui/templates/builddashboard.html +++ b/bitbake/lib/toaster/toastergui/templates/builddashboard.html | |||
@@ -36,7 +36,11 @@ | |||
36 | {% endif %} | 36 | {% endif %} |
37 | <span > <i class="icon-warning-sign yellow"></i><strong><a href="#warnings" class="warning show-warnings"> {{build.warnings_no}} warning{{build.warnings_no|pluralize}}</a></strong></span> | 37 | <span > <i class="icon-warning-sign yellow"></i><strong><a href="#warnings" class="warning show-warnings"> {{build.warnings_no}} warning{{build.warnings_no|pluralize}}</a></strong></span> |
38 | {% endif %} | 38 | {% endif %} |
39 | <span class="pull-right">Build time: <a href="{% url 'buildtime' build.pk %}">{{ build.timespent|sectohms }}</a></span> | 39 | <span class="pull-right">Build time: <a href="{% url 'buildtime' build.pk %}">{{ build.timespent|sectohms }}</a> |
40 | {% if MANAGED and build.project %} | ||
41 | <a class="btn {%if build.outcome == build.SUCCEEDED%}btn-success{%else%}btn-danger{%endif%} pull-right" href="{% url 'build_artifact' build.id "cookerlog" build.id %}">Download build log</a> | ||
42 | {% endif %} | ||
43 | </span> | ||
40 | {%endif%} | 44 | {%endif%} |
41 | </div> | 45 | </div> |
42 | {% if build.toaster_exceptions.count > 0 %} | 46 | {% if build.toaster_exceptions.count > 0 %} |
@@ -54,10 +58,7 @@ | |||
54 | <div class="accordion span10 pull-right" id="errors"> | 58 | <div class="accordion span10 pull-right" id="errors"> |
55 | <div class="accordion-group"> | 59 | <div class="accordion-group"> |
56 | <div class="accordion-heading"> | 60 | <div class="accordion-heading"> |
57 | {% if MANAGED and build.project %} | 61 | <a class="accordion-toggle error toggle-errors"> |
58 | <a class="btn btn-large pull-right" href="{% url 'build_artifact' build.id "cookerlog" build.id %}" style="margin:15px;">Download build log</a> | ||
59 | {% endif %} | ||
60 | <a class="accordion-toggle error toggle-errors"> | ||
61 | <h2 id="error-toggle"> | 62 | <h2 id="error-toggle"> |
62 | <i class="icon-minus-sign"></i> | 63 | <i class="icon-minus-sign"></i> |
63 | {{build.errors_no}} error{{build.errors_no|pluralize}} | 64 | {{build.errors_no}} error{{build.errors_no|pluralize}} |