Browse Source

Fix rules.html afte name cleaup in #7841 (#7865)

Signed-off-by: Julien Pivotto <roidelapluie@inuits.eu>
pull/7882/head
Julien Pivotto 4 years ago committed by GitHub
parent
commit
a5366cb236
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      web/ui/templates/rules.html

4
web/ui/templates/rules.html

@ -10,8 +10,8 @@
<thead>
<tr>
<td colspan="3"><h2><a href="#{{reReplaceAll "([^a-zA-Z0-9])" "$1" .Name}}" id="{{reReplaceAll "([^a-zA-Z0-9])" "$1" .Name}}">{{.Name}}</a></h2></td>
<td><h2>{{if .GetEvaluationTimestamp.IsZero}}Never{{else}}{{since .GetEvaluationTimestamp}} ago{{end}}</h2></td>
<td><h2>{{humanizeDuration .GetEvaluationDuration.Seconds}}</h2></td>
<td><h2>{{if .GetLastEvaluation.IsZero}}Never{{else}}{{since .GetLastEvaluation}} ago{{end}}</h2></td>
<td><h2>{{humanizeDuration .GetEvaluationTime.Seconds}}</h2></td>
</tr>
</thead>
<tbody>

Loading…
Cancel
Save