diff options
Diffstat (limited to 'bitbake/lib/toaster/toastergui/templates/tasks.html')
-rw-r--r-- | bitbake/lib/toaster/toastergui/templates/tasks.html | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/bitbake/lib/toaster/toastergui/templates/tasks.html b/bitbake/lib/toaster/toastergui/templates/tasks.html index d0c6f4e326..4cbcc5ed68 100644 --- a/bitbake/lib/toaster/toastergui/templates/tasks.html +++ b/bitbake/lib/toaster/toastergui/templates/tasks.html | |||
@@ -94,6 +94,11 @@ | |||
94 | <td class="outcome"> | 94 | <td class="outcome"> |
95 | <a href="{%url "task" build.pk task.pk%} ">{{task.get_outcome_display}} </a> | 95 | <a href="{%url "task" build.pk task.pk%} ">{{task.get_outcome_display}} </a> |
96 | <i class="icon-question-sign get-help hover-help" title="{{task.get_outcome_help}}"></i> | 96 | <i class="icon-question-sign get-help hover-help" title="{{task.get_outcome_help}}"></i> |
97 | {% if MANAGED and build.project and task.outcome = task.OUTCOME_FAILED %} | ||
98 | <a href="{% url 'build_artifact' build.pk "tasklogfile" task.pk %}"> | ||
99 | <i class="icon-download-alt" title="" data-original-title="Download task log file"></i> | ||
100 | </a> | ||
101 | {% endif %} | ||
97 | </td> | 102 | </td> |
98 | <td class="cache_attempt"> | 103 | <td class="cache_attempt"> |
99 | <a href="{%url "task" build.pk task.pk%} ">{{task.get_sstate_result_display|format_none_and_zero}}</a> | 104 | <a href="{%url "task" build.pk task.pk%} ">{{task.get_sstate_result_display|format_none_and_zero}}</a> |
@@ -107,9 +112,12 @@ | |||
107 | <td class="disk_io"> | 112 | <td class="disk_io"> |
108 | {{task.disk_io|format_none_and_zero}} | 113 | {{task.disk_io|format_none_and_zero}} |
109 | </td> | 114 | </td> |
115 | |||
116 | {% if not MANAGED or not build.project %} | ||
110 | <td class="task_log"> | 117 | <td class="task_log"> |
111 | {{task.logfile}} | 118 | {{task.logfile}} |
112 | </td> | 119 | </td> |
120 | {% endif %} | ||
113 | </tr> | 121 | </tr> |
114 | {% endfor %} | 122 | {% endfor %} |
115 | 123 | ||
@@ -124,10 +132,10 @@ | |||
124 | // enable blue hightlight animation for the order link | 132 | // enable blue hightlight animation for the order link |
125 | if (location.href.search('#') > -1) { | 133 | if (location.href.search('#') > -1) { |
126 | var task_order = location.href.split('#')[1]; | 134 | var task_order = location.href.split('#')[1]; |
127 | $("#" + task_order).addClass("highlight"); | 135 | $("#" + task_order).addClass("highlight"); |
128 | } | 136 | } |
129 | }); | 137 | }); |
130 | 138 | ||
131 | </script> | 139 | </script> |
132 | 140 | ||
133 | {% endblock %} | 141 | {% endblock %} |