forked from lix-project/hydra
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}) || ""
|
, emailoverride => trim($c->request->params->{emailoverride}) || ""
|
||||||
, hidden => defined $c->request->params->{visible} ? 0 : 1
|
, hidden => defined $c->request->params->{visible} ? 0 : 1
|
||||||
, keepnr => trim($c->request->params->{keepnr}) || 3
|
, keepnr => trim($c->request->params->{keepnr}) || 3
|
||||||
|
, triggertime => $jobset->triggertime // time()
|
||||||
});
|
});
|
||||||
|
|
||||||
my %inputNames;
|
my %inputNames;
|
||||||
|
|
|
@ -59,8 +59,7 @@
|
||||||
<th>Last checked:</th>
|
<th>Last checked:</th>
|
||||||
<td>
|
<td>
|
||||||
[% IF jobset.lastcheckedtime %]
|
[% IF jobset.lastcheckedtime %]
|
||||||
[% INCLUDE renderDateTime timestamp = jobset.lastcheckedtime %][% IF jobset.errormsg %]<em>, with
|
[% INCLUDE renderDateTime timestamp = jobset.lastcheckedtime %], [% IF jobset.errormsg %]<em class="text-warning">with errors!</em>[% ELSE %]<em>no errors</em>[% END %]
|
||||||
evaluation errors!</em>[% ELSE %], <em>no evaluation errors</em>[% END %]
|
|
||||||
[% ELSE %]
|
[% ELSE %]
|
||||||
<em>never</em>
|
<em>never</em>
|
||||||
[% END %]
|
[% END %]
|
||||||
|
@ -76,6 +75,12 @@
|
||||||
[% END %]
|
[% END %]
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
[% IF jobset.triggertime %]
|
||||||
|
<tr>
|
||||||
|
<th>Evaluation pending since:</th>
|
||||||
|
<td>[% INCLUDE renderDateTime timestamp = jobset.triggertime %]</td>
|
||||||
|
</tr>
|
||||||
|
[% END %]
|
||||||
</table>
|
</table>
|
||||||
|
|
||||||
<br/>
|
<br/>
|
||||||
|
|
Loading…
Reference in a new issue