summaryrefslogtreecommitdiffstats
path: root/bitbake/lib
diff options
context:
space:
mode:
authorBelen Barros Pena <belen.barros.pena@intel.com>2015-10-02 14:43:26 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-10-12 14:38:56 +0100
commit82675fc4ed13834e3fc7112dcf15b65c056904c2 (patch)
treee53b22a92393d10c260821a9766aaa7291ac3cf3 /bitbake/lib
parent6aeaca1c83ec43369c3449f3d0cb6fe280bc1120 (diff)
downloadpoky-82675fc4ed13834e3fc7112dcf15b65c056904c2.tar.gz
bitbake: toaster: Remove project name from latest project builds
The 'latest builds' list in the project builds page does not need to show the project name, since it lists only builds for the selected project. This patch removes the redundant project name. (Bitbake rev: 065652b9c649135f9e2fc5d9ba90e98f560dccdd) Signed-off-by: Belen Barros Pena <belen.barros.pena@intel.com> Signed-off-by: Elliot Smith <elliot.smith@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib')
-rw-r--r--bitbake/lib/toaster/toastergui/templates/mrb_section.html6
1 files changed, 4 insertions, 2 deletions
diff --git a/bitbake/lib/toaster/toastergui/templates/mrb_section.html b/bitbake/lib/toaster/toastergui/templates/mrb_section.html
index 2fefe4b0f7..ad90e82ee3 100644
--- a/bitbake/lib/toaster/toastergui/templates/mrb_section.html
+++ b/bitbake/lib/toaster/toastergui/templates/mrb_section.html
@@ -18,13 +18,15 @@
18 {% endif %} 18 {% endif %}
19 <div id="latest-builds"> 19 <div id="latest-builds">
20 {% for build in mru %} 20 {% for build in mru %}
21 <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%}
22 {% if mrb_type != 'project' %}
23 project-name">
22 <span class="label {%if build.outcome == build.SUCCEEDED%}label-success{%elif build.outcome == build.FAILED%}label-important{%else%}label-info{%endif%}"> 24 <span class="label {%if build.outcome == build.SUCCEEDED%}label-success{%elif build.outcome == build.FAILED%}label-important{%else%}label-info{%endif%}">
23 <a href={% url 'project' build.project.pk %}> 25 <a href={% url 'project' build.project.pk %}>
24 {{build.project.name}} 26 {{build.project.name}}
25 </a> 27 </a>
26 </span> 28 </span>
27 29 {% endif %}
28 <div class="row-fluid"> 30 <div class="row-fluid">
29 <div class="span3 lead"> 31 <div class="span3 lead">
30 {%if build.outcome == build.SUCCEEDED or build.outcome == build.FAILED %} 32 {%if build.outcome == build.SUCCEEDED or build.outcome == build.FAILED %}