After editing a jobset, push it to the front of the evaluation queue

This commit is contained in:
Eelco Dolstra 2013-02-26 16:10:36 +01:00
parent 96e24fcf24
commit eea3846754
2 changed files with 8 additions and 2 deletions

View file

@ -217,6 +217,7 @@ sub updateJobset {
, emailoverride => trim($c->request->params->{emailoverride}) || ""
, hidden => defined $c->request->params->{visible} ? 0 : 1
, keepnr => trim($c->request->params->{keepnr}) || 3
, triggertime => $jobset->triggertime // time()
});
my %inputNames;

View file

@ -59,8 +59,7 @@
<th>Last checked:</th>
<td>
[% IF jobset.lastcheckedtime %]
[% INCLUDE renderDateTime timestamp = jobset.lastcheckedtime %][% IF jobset.errormsg %]<em>, with
evaluation errors!</em>[% ELSE %], <em>no evaluation errors</em>[% END %]
[% INCLUDE renderDateTime timestamp = jobset.lastcheckedtime %], [% IF jobset.errormsg %]<em class="text-warning">with errors!</em>[% ELSE %]<em>no errors</em>[% END %]
[% ELSE %]
<em>never</em>
[% END %]
@ -76,6 +75,12 @@
[% END %]
</td>
</tr>
[% IF jobset.triggertime %]
<tr>
<th>Evaluation pending since:</th>
<td>[% INCLUDE renderDateTime timestamp = jobset.triggertime %]</td>
</tr>
[% END %]
</table>
<br/>