Add a hydra.conf option to enable email notification

Note that it's disabled by default.
This commit is contained in:
Eelco Dolstra
2018-03-12 13:52:36 +01:00
parent c0fac52872
commit 02888105a8
4 changed files with 9 additions and 2 deletions

View File

@ -148,6 +148,7 @@
<th>Scheduling shares:</th>
<td>[% jobset.schedulingshares %] [% IF totalShares %] ([% f = format("%.2f"); f(jobset.schedulingshares / totalShares * 100) %]% out of [% totalShares %] shares)[% END %]</td>
</tr>
[% IF emailNotification %]
<tr>
<th>Enable email notification:</th>
<td>[% jobset.enableemail ? "Yes" : "No" %]</td>
@ -156,6 +157,7 @@
<th>Email override:</th>
<td>[% HTML.escape(jobset.emailoverride) %]</td>
</tr>
[% END %]
<tr>
<th>Number of evaluations to keep:</th>
<td>[% jobset.keepnr %]</td>