Sort jobsets by name

This commit is contained in:
Eelco Dolstra 2013-08-28 15:26:50 +02:00
parent 58a6fdc5ed
commit ccc09c565e

View file

@ -7,7 +7,7 @@
<li><a href="?">Preceding evaluation in the same jobset</tt></a></li> <li><a href="?">Preceding evaluation in the same jobset</tt></a></li>
[% IF project.jobsets_rs.count > 1 %] [% IF project.jobsets_rs.count > 1 %]
<li class="divider"></li> <li class="divider"></li>
[% FOREACH j IN project.jobsets; IF j.name != jobset.name %] [% FOREACH j IN project.jobsets.sort('name'); IF j.name != jobset.name %]
<li><a href="?compare=[% j.name %]">Jobset <tt>[% project.name %]:[% j.name %]</tt></a></li> <li><a href="?compare=[% j.name %]">Jobset <tt>[% project.name %]:[% j.name %]</tt></a></li>
[% END; END %] [% END; END %]
[% END %] [% END %]