Start of error reporting

This commit is contained in:
Magnus Åhall 2024-06-29 18:09:56 +02:00
parent e728a302ee
commit b0ffce05f0
8 changed files with 30 additions and 16 deletions

View file

@ -10,11 +10,13 @@
<div class="header">OK</div>
<div class="header">Trigger name</div>
<div class="header">Service</div>
<div class="header">Error</div>
{{ range .Data.Notifications }}
<div>{{ format_time .Sent }}</div>
<div>{{ if .OK }}{{ else }}{{ end }}</div>
<div>{{ .TriggerName }}</div>
<div>{{ .Prio }}:{{ .Service }}</div>
<div><pre>{{ if .Error.Valid }}{{ .ErrorIndented }}{{ end }}</pre></div>
{{ end }}
</div>