summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/toaster/toastergui/templates/mrb_section.html
diff options
context:
space:
mode:
Diffstat (limited to 'bitbake/lib/toaster/toastergui/templates/mrb_section.html')
-rw-r--r--bitbake/lib/toaster/toastergui/templates/mrb_section.html16
1 files changed, 11 insertions, 5 deletions
diff --git a/bitbake/lib/toaster/toastergui/templates/mrb_section.html b/bitbake/lib/toaster/toastergui/templates/mrb_section.html
index b2c49fe365..2fefe4b0f7 100644
--- a/bitbake/lib/toaster/toastergui/templates/mrb_section.html
+++ b/bitbake/lib/toaster/toastergui/templates/mrb_section.html
@@ -3,13 +3,19 @@
3{% load humanize %} 3{% load humanize %}
4 4
5 5
6{%if mru.count > 0%} 6{%if mru and mru.count > 0%}
7 7
8 <div class="page-header"> 8 {%if mrb_type == 'project' %}
9 <h2>
10 Latest project builds
11 </h2>
12 {% else %}
13 <div class="page-header">
9 <h1> 14 <h1>
10 Latest builds 15 Latest builds
11 </h1> 16 </h1>
12 </div> 17 </div>
18 {% endif %}
13 <div id="latest-builds"> 19 <div id="latest-builds">
14 {% for build in mru %} 20 {% for build in mru %}
15 <div class="alert {%if build.outcome == build.SUCCEEDED%}alert-success{%elif build.outcome == build.FAILED%}alert-error{%else%}alert-info{%endif%} project-name "> 21 <div class="alert {%if build.outcome == build.SUCCEEDED%}alert-success{%elif build.outcome == build.FAILED%}alert-error{%else%}alert-info{%endif%} project-name ">