diff options
Diffstat (limited to 'bitbake/lib/toaster/toastergui/templates/managed_mrb_section.html')
-rw-r--r-- | bitbake/lib/toaster/toastergui/templates/managed_mrb_section.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bitbake/lib/toaster/toastergui/templates/managed_mrb_section.html b/bitbake/lib/toaster/toastergui/templates/managed_mrb_section.html index d4959a0b52..da5a3f7f74 100644 --- a/bitbake/lib/toaster/toastergui/templates/managed_mrb_section.html +++ b/bitbake/lib/toaster/toastergui/templates/managed_mrb_section.html | |||
@@ -53,8 +53,8 @@ | |||
53 | <span class="lead{%if not MANAGED or not build.project%} pull-right{%endif%}"> | 53 | <span class="lead{%if not MANAGED or not build.project%} pull-right{%endif%}"> |
54 | Build time: <a href="{% url 'buildtime' build.pk %}">{{ build.timespent|sectohms }}</a> | 54 | Build time: <a href="{% url 'buildtime' build.pk %}">{{ build.timespent|sectohms }}</a> |
55 | </span> | 55 | </span> |
56 | {% if MANAGED and build.project %} | 56 | {% if build.project %} |
57 | <a class="btn {%if build.outcome == build.SUCCEEDED%}btn-success{%elif build.outcome == build.FAILED%}btn-danger{%else%}btn-info{%endif%} pull-right" onclick="scheduleBuild({% url 'xhr_projectbuild' build.project.id as bpi%}{{bpi|json}}, {{build.project.name|json}}, {{build.get_sorted_target_list|mapselect:'target'|json}})">Run again</a> | 57 | <button class="btn {%if build.outcome == build.SUCCEEDED%}btn-success{%elif build.outcome == build.FAILED%}btn-danger{%else%}btn-info{%endif%} pull-right" onclick='scheduleBuild({% url 'xhr_projectbuild' build.project.id as bpi%}{{bpi|json}}, {{build.project.name|json}}, {{build.get_sorted_target_list|mapselect:'target'|json}})'>Run again</button> |
58 | {% endif %} | 58 | {% endif %} |
59 | </div> | 59 | </div> |
60 | {%endif%} | 60 | {%endif%} |