After editing a jobset, push it to the front of the evaluation queue
This commit is contained in:
parent
96e24fcf24
commit
eea3846754
|
@ -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;
|
||||
|
|
|
@ -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/>
|
||||
|
|
Loading…
Reference in a new issue