mirror of
https://git.yoctoproject.org/poky
synced 2026-04-04 23:02:22 +02:00
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>
This commit is contained in:
committed by
Richard Purdie
parent
d2c9f704f2
commit
74bb0fb3c1
@@ -202,7 +202,11 @@ vim: expandtab tabstop=2
|
||||
|
||||
|
||||
<case ng-switch-when="completed">
|
||||
<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>
|
||||
<div class="lead span3">
|
||||
<a ng-class="{'Succeeded': 'success', 'Failed': 'error'}[b.build[0].status]" href="{[b.build[0].build_page_url]}">
|
||||
<span ng-repeat="t in b.targets" ng-include src="'target_display'"></span>
|
||||
</a>
|
||||
</div>
|
||||
<div class="span2 lead">
|
||||
<ngif ng-if="b.build[0].completed_on - todaydate > 0">
|
||||
{[b.build[0].completed_on|date:'HH:mm']}
|
||||
|
||||
Reference in New Issue
Block a user