Hydra/32: Add option to force evaluation of a certain jobset via web interface (for admins only)

This commit is contained in:
Rob Vermaas
2010-05-18 11:37:01 +00:00
parent 5e2c683f5b
commit 75bb591c03
3 changed files with 22 additions and 2 deletions

View File

@ -35,6 +35,7 @@
<th>Description</th>
<th>Last evaluated</th>
<th colspan="2">Success</th>
[% IF c.check_user_roles('admin') %]<th>Options</th>[% END%]
</tr>
</thead>
<tbody>
@ -76,6 +77,9 @@
<td align="right">
<div class="[% class %]">[% j.get_column('nrsucceeded') %]/[% j.get_column('nrtotal') %]</div>
</td>
[% IF c.check_user_roles('admin') %]
<td>[ [% INCLUDE maybeLink uri = c.uri_for(c.controller('Admin').action_for('force_eval'), project.name, j.name) content = "Evaluate" confirmmsg = ("Are you sure you want to force evaluation of jobset " _ project.name _ ":" _ j.name _ "?") %] ]</td>
[% END%]
</tr>
[% END %]
</tbody>