2015-04-14 08:58:55 +02:00
[% PROCESS common.tt %]
[% IF channels.size == 0 %]
2021-03-31 20:03:44 -04:00
<div class="alert alert-warning">There are no channels available.</div>
2015-04-14 08:58:55 +02:00
[% ELSE %]
[% evalIds = evals.keys.nsort.reverse %]
<table class="table table-striped table-condensed table-header-rotated">
<thead>
<tr>
<th style="width: 1em;">Channel</th>
[% FOREACH eval IN evalIds %]
<th class="rotate-45">
<div><span>
<a href="[% c.uri_for('/eval' eval) %]">[% INCLUDE renderRelativeDate timestamp=evals.$eval.timestamp %]</a>
</span></div></th>
[% END %]
</tr>
</thead>
<tbody>
[% FOREACH chan IN channels-%]
<tr>
2015-04-27 03:03:41 +02:00
<th><span><a href="[% c.uri_for('/channel/custom' project.name jobset.name chan) %]">[% chan %]</a></span></th>
2015-04-14 08:58:55 +02:00
[% FOREACH eval IN evalIds %]
2015-04-26 07:37:37 +02:00
<td>[% r = evals.$eval.builds.$chan; IF r.id %]<a href="[% c.uri_for('/build' r.id) %]">[% INCLUDE renderBuildStatusIcon size=16 build=r %]</a>[% END %]</td>
2015-04-14 08:58:55 +02:00
[% END %]
</tr>
[% END %]
</tbody>
</table>
[% END %]