- report when a builder is in no channels
- improve formatting when there are no active buildroots
This commit is contained in:
parent
eb469f3ae5
commit
50e08644e2
1 changed files with 9 additions and 4 deletions
|
|
@ -53,12 +53,15 @@
|
|||
#for $channel in $channels
|
||||
<a href="channelinfo?channelID=$channel.id">$channel.name</a><br/>
|
||||
#end for
|
||||
#if not $channels
|
||||
No channels
|
||||
#end if
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>Active Buildroots</th>
|
||||
#if $buildroots
|
||||
<td class="container">
|
||||
#if $len($buildroots) > 0
|
||||
<table class="nested data-list">
|
||||
<tr class="list-header">
|
||||
<th>Buildroot</th><th>Created</th><th>State</th>
|
||||
|
|
@ -71,10 +74,12 @@
|
|||
</tr>
|
||||
#end for
|
||||
</table>
|
||||
#else
|
||||
No buildroots
|
||||
#end if
|
||||
</td>
|
||||
#else
|
||||
<td>
|
||||
No buildroots
|
||||
</td>
|
||||
#end if
|
||||
</tr>
|
||||
#if 'admin' in $perms
|
||||
<tr>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue