mirror of
https://github.com/grafana/grafana.git
synced 2025-08-06 20:59:35 +08:00
include error message in email notification (#8392)
This commit is contained in:

committed by
Torkel Ödegaard

parent
820671d6cc
commit
9dc220b8e2
@ -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>
|
||||
|
Reference in New Issue
Block a user