diff options
-rw-r--r-- | bitbake/lib/toaster/toastergui/templates/task.html | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/bitbake/lib/toaster/toastergui/templates/task.html b/bitbake/lib/toaster/toastergui/templates/task.html index 86789bd0b1..214c777831 100644 --- a/bitbake/lib/toaster/toastergui/templates/task.html +++ b/bitbake/lib/toaster/toastergui/templates/task.html | |||
@@ -25,8 +25,10 @@ | |||
25 | {%if task.task_executed %} | 25 | {%if task.task_executed %} |
26 | {# executed tasks outcome #} | 26 | {# executed tasks outcome #} |
27 | {% if task.logfile %} | 27 | {% if task.logfile %} |
28 | <a class="btn btn-default btn-lg" href="{% url 'build_artifact' build.id | 28 | <a class="btn btn-default btn-lg" |
29 | "tasklogfile" task.pk %}">Download task log</a> | 29 | href="{% url 'build_artifact' build.id 'tasklogfile' task.pk %}"> |
30 | Download task log | ||
31 | </a> | ||
30 | {% endif %} | 32 | {% endif %} |
31 | {# show stack trace for failed task #} | 33 | {# show stack trace for failed task #} |
32 | {% if task.outcome == task.OUTCOME_FAILED and log_head %} | 34 | {% if task.outcome == task.OUTCOME_FAILED and log_head %} |
@@ -156,8 +158,10 @@ this prebuilt task is reusing"></span></a> | |||
156 | {%elif task.outcome == task.OUTCOME_CACHED%} | 158 | {%elif task.outcome == task.OUTCOME_CACHED%} |
157 | {% for t in task.get_related_setscene %} | 159 | {% for t in task.get_related_setscene %} |
158 | {% if forloop.last %} | 160 | {% if forloop.last %} |
159 | <a class="btn btn-default btn-lg" href="{% url | 161 | <a class="btn btn-default btn-lg" |
160 | 'build_artifact' build.id "tasklogfile" t.pk %}">Download task log</a> | 162 | href="{% url 'build_artifact' build.id "tasklogfile" t.pk %}"> |
163 | Download task log | ||
164 | </a> | ||
161 | {% endif %} | 165 | {% endif %} |
162 | {% endfor %} | 166 | {% endfor %} |
163 | 167 | ||