Make the jobset eval rows clickable

This commit is contained in:
Eelco Dolstra 2012-04-15 18:21:56 +02:00
parent 6b88640457
commit a633e4b361

View file

@ -413,9 +413,10 @@
</tr> </tr>
</thead> </thead>
<tbody> <tbody>
[% last = nrShown - 1; FOREACH n IN [0..last]; eval = evals.$n; m = n + 1; next = evals.$m; %] [% last = nrShown - 1; FOREACH n IN [0..last]; eval = evals.$n; m = n + 1; next = evals.$m;
<tr> link = c.uri_for(c.controller('JobsetEval').action_for('view'), [eval.id]) %]
<td><a href="[% c.uri_for(c.controller('JobsetEval').action_for('view'), [eval.id]) %]">[% eval.id %]</a>&nbsp;</td> <tr class="clickable" onclick="window.location = '[% link %]'">
<td><a href="[% link %]">[% eval.id %]</a>&nbsp;</td>
<td>[% INCLUDE renderDateTime timestamp = eval.timestamp %]&nbsp;</td> <td>[% INCLUDE renderDateTime timestamp = eval.timestamp %]&nbsp;</td>
<td align='right'> <td align='right'>
<span class="label label-success">[% eval.get_column('nrSucceeded') %]</span> <span class="label label-success">[% eval.get_column('nrSucceeded') %]</span>