summaryrefslogtreecommitdiffstats
path: root/bitbake/lib
diff options
context:
space:
mode:
authorBelen Barros Pena <belen.barros.pena@intel.com>2015-02-27 17:17:32 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-03-09 14:33:52 +0000
commit74bb0fb3c194e1ca2df4d3745f952955b8227e7d (patch)
tree79b9432c362e01043547312fce6232517d21ed0f /bitbake/lib
parentd2c9f704f2232a80b8bd0cd236d1b7f7bc250116 (diff)
downloadpoky-74bb0fb3c194e1ca2df4d3745f952955b8227e7d.tar.gz
bitbake: toasterui: apply correct class to latest builds targets
Failed builds were showing the target name with the .success class applied (cognitive disonance, anyone?). (Bitbake rev: c78a19ecd2b397ccce59c1f6b852953b04afd37a) Signed-off-by: Belen Barros Pena <belen.barros.pena@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib')
-rw-r--r--bitbake/lib/toaster/toastergui/templates/project.html6
1 files changed, 5 insertions, 1 deletions
diff --git a/bitbake/lib/toaster/toastergui/templates/project.html b/bitbake/lib/toaster/toastergui/templates/project.html
index 9fa682cf57..54590ee3da 100644
--- a/bitbake/lib/toaster/toastergui/templates/project.html
+++ b/bitbake/lib/toaster/toastergui/templates/project.html
@@ -202,7 +202,11 @@ vim: expandtab tabstop=2
202 202
203 203
204 <case ng-switch-when="completed"> 204 <case ng-switch-when="completed">
205 <div class="lead span3"><a class="success" href="{[b.build[0].build_page_url]}"><span ng-repeat="t in b.targets" ng-include src="'target_display'"></span></a></div> 205 <div class="lead span3">
206 <a ng-class="{'Succeeded': 'success', 'Failed': 'error'}[b.build[0].status]" href="{[b.build[0].build_page_url]}">
207 <span ng-repeat="t in b.targets" ng-include src="'target_display'"></span>
208 </a>
209 </div>
206 <div class="span2 lead"> 210 <div class="span2 lead">
207 <ngif ng-if="b.build[0].completed_on - todaydate > 0"> 211 <ngif ng-if="b.build[0].completed_on - todaydate > 0">
208 {[b.build[0].completed_on|date:'HH:mm']} 212 {[b.build[0].completed_on|date:'HH:mm']}