diff options
Diffstat (limited to 'bitbake')
-rw-r--r-- | bitbake/lib/toaster/toastergui/templates/project.html | 20 |
1 files changed, 18 insertions, 2 deletions
diff --git a/bitbake/lib/toaster/toastergui/templates/project.html b/bitbake/lib/toaster/toastergui/templates/project.html index 18a52bf891..0b2821cdf6 100644 --- a/bitbake/lib/toaster/toastergui/templates/project.html +++ b/bitbake/lib/toaster/toastergui/templates/project.html | |||
@@ -178,8 +178,24 @@ vim: expandtab tabstop=2 | |||
178 | {[b.build[0].completed_on|date:'dd/MM/yy HH:mm']} | 178 | {[b.build[0].completed_on|date:'dd/MM/yy HH:mm']} |
179 | </ngif> | 179 | </ngif> |
180 | </div> | 180 | </div> |
181 | <div class="span2"><span><a href="{[b.build[0].build_page_url]}#errors" class="lead error" ng-if="b.build[0].errors">{[b.build[0].errors]}</a></span></div> | 181 | <div class="span2"> |
182 | <div class="span2"><span><a href="{[b.build[0].build_page_url]}#warnings" class="lead warning" ng-if="b.build[0].warnings">{[b.build[0].warnings]}</a></span></div> | 182 | <ngif ng-if="b.build[0].errors"> |
183 | <span> | ||
184 | <i class="icon-minus-sign red lead"></i> | ||
185 | <a href="{[b.build[0].build_page_url]}#errors" class="lead error">{[b.build[0].errors]} | ||
186 | <ng-pluralize count="b.build[0].errors" when="{'1':'error','other':'errors'}"></ng-pluralize></a> | ||
187 | </span> | ||
188 | </ngif> | ||
189 | </div> | ||
190 | <div class="span2"> | ||
191 | <ngif ng-if="b.build[0].warnings"> | ||
192 | <span> | ||
193 | <i class="icon-warning-sign yellow lead"></i> | ||
194 | <a href="{[b.build[0].build_page_url]}#warnings" class="lead warning">{[b.build[0].warnings]} | ||
195 | <ng-pluralize count="b.build[0].warnings" when="{'1':'warning','other':'warnings'}"></ng-pluralize></a> | ||
196 | </span> | ||
197 | </ngif> | ||
198 | </div> | ||
183 | <div> <span class="lead">Build time: <a href="{[b.build[0].build_time_page_url]}">{[b.build[0].build_time|timediff]}</a></span> | 199 | <div> <span class="lead">Build time: <a href="{[b.build[0].build_time_page_url]}">{[b.build[0].build_time|timediff]}</a></span> |
184 | <button class="btn pull-right" ng-class="{'Succeeded': 'btn-success', 'Failed': 'btn-danger'}[b.build[0].status]" | 200 | <button class="btn pull-right" ng-class="{'Succeeded': 'btn-success', 'Failed': 'btn-danger'}[b.build[0].status]" |
185 | ng-click="targetExistingBuild(b.targets)">Run again</button> | 201 | ng-click="targetExistingBuild(b.targets)">Run again</button> |