include error message in email notification (#8392)

This commit is contained in:
Dan Cech
2017-05-17 03:51:51 -04:00
committed by Torkel Ödegaard
parent 820671d6cc
commit 9dc220b8e2
4 changed files with 54 additions and 1 deletions

View File

@ -28,6 +28,29 @@
</tr>
</table>
[[if ne .Error "" ]]
<table class="row" >
<tr>
<td class="last">
<center>
<table class="twelve columns" >
<tr>
<td class="twelve last">
<h5 style="font-weight: bold;">Error message</h5>
</td>
</tr>
<tr>
<td class="twelve last">
<p>[[.Error]]</p>
</td>
</tr>
</table>
</center>
</td>
</tr>
</table>
[[end]]
[[if ne .State "ok" ]]
<table class="row" >
<tr>