mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
32 lines
831 B
HTML
32 lines
831 B
HTML
<!-- This email is sent when an existing user is added to an organization -->
|
|
|
|
[[Subject .Subject "Grafana Alert: [ [[.State]] ] [[.Name]]" ]]
|
|
|
|
Alertstate: [[.State]]<br />
|
|
[[.AlertPageUrl]]<br />
|
|
[[.DashboardLink]]<br />
|
|
[[.Description]]<br />
|
|
|
|
[[if eq .State "Ok"]]
|
|
Everything is Ok
|
|
[[end]]
|
|
|
|
<img src="[[.DashboardImage]]" />
|
|
|
|
[[if ne .State "Ok" ]]
|
|
<table class="row">
|
|
<tr>
|
|
<td class="expander">Serie</td>
|
|
<td class="expander">State</td>
|
|
<td class="expander">Actual value</td>
|
|
</tr>
|
|
[[ range $ta := .TriggeredAlerts]]
|
|
<tr>
|
|
<td class="expander">[[$ta.Name]]</td>
|
|
<td class="expander">[[$ta.State]]</td>
|
|
<td class="expander">[[$ta.ActualValue]]</td>
|
|
</tr>
|
|
[[end]]
|
|
</table>
|
|
[[end]]
|