diff options
Diffstat (limited to 'bitbake/lib/toaster')
-rw-r--r-- | bitbake/lib/toaster/toastergui/templates/builds.html | 8 | ||||
-rw-r--r-- | bitbake/lib/toaster/toastergui/templates/projectbuilds.html | 11 |
2 files changed, 13 insertions, 6 deletions
diff --git a/bitbake/lib/toaster/toastergui/templates/builds.html b/bitbake/lib/toaster/toastergui/templates/builds.html index a27a121913..c3cc266daf 100644 --- a/bitbake/lib/toaster/toastergui/templates/builds.html +++ b/bitbake/lib/toaster/toastergui/templates/builds.html | |||
@@ -62,7 +62,13 @@ | |||
62 | {% for build in objects %} | 62 | {% for build in objects %} |
63 | <tr class="data" data-table-build-result="{{ build.id }}"> | 63 | <tr class="data" data-table-build-result="{{ build.id }}"> |
64 | <td class="outcome"> | 64 | <td class="outcome"> |
65 | <a href="{% url "builddashboard" build.id %}">{%if build.outcome == build.SUCCEEDED%}<i class="icon-ok-sign success"></i>{%elif build.outcome == build.FAILED%}<i class="icon-minus-sign error"></i>{%else%}{%endif%}</a> | 65 | <a href="{% url "builddashboard" build.id %}">{%if build.outcome == build.SUCCEEDED%}<i class="icon-ok-sign success"></i>{%elif build.outcome == build.FAILED%}<i class="icon-minus-sign error"></i>{%else%}{%endif%}</a> |
66 | {% if build.cooker_log_path %} | ||
67 | | ||
68 | <a href="{% url 'build_artifact' build.id "cookerlog" build.id %}"> | ||
69 | <i class="icon-download-alt" title="Download build log"></i> | ||
70 | </a> | ||
71 | {% endif %} | ||
66 | </td> | 72 | </td> |
67 | <td class="target"> | 73 | <td class="target"> |
68 | {% for t in build.target_set.all %} | 74 | {% for t in build.target_set.all %} |
diff --git a/bitbake/lib/toaster/toastergui/templates/projectbuilds.html b/bitbake/lib/toaster/toastergui/templates/projectbuilds.html index bb38284aab..3402fc4fe1 100644 --- a/bitbake/lib/toaster/toastergui/templates/projectbuilds.html +++ b/bitbake/lib/toaster/toastergui/templates/projectbuilds.html | |||
@@ -63,11 +63,12 @@ | |||
63 | {% for build in objects %} {# if we have a build, just display it #} | 63 | {% for build in objects %} {# if we have a build, just display it #} |
64 | <tr class="data"> | 64 | <tr class="data"> |
65 | <td class="outcome"><a href="{% url "builddashboard" build.id %}">{%if build.outcome == build.SUCCEEDED%}<i class="icon-ok-sign success"></i>{%elif build.outcome == build.FAILED%}<i class="icon-minus-sign error"></i>{%else%}{%endif%}</a> | 65 | <td class="outcome"><a href="{% url "builddashboard" build.id %}">{%if build.outcome == build.SUCCEEDED%}<i class="icon-ok-sign success"></i>{%elif build.outcome == build.FAILED%}<i class="icon-minus-sign error"></i>{%else%}{%endif%}</a> |
66 | {% if build.project %} | 66 | {% if build.cooker_log_path %} |
67 | <a href="{% url 'build_artifact' build.id "cookerlog" build.id %}"> | 67 | |
68 | <i class="icon-download-alt" title="" data-original-title="Download build log"></i> | 68 | <a href="{% url 'build_artifact' build.id "cookerlog" build.id %}"> |
69 | </a> | 69 | <i class="icon-download-alt" title="Download build log"></i> |
70 | {% endif %} | 70 | </a> |
71 | {% endif %} | ||
71 | </td> | 72 | </td> |
72 | 73 | ||
73 | <td class="target"> | 74 | <td class="target"> |