From a5366cb23667c623458f6a0f8fc67e10e10e01c1 Mon Sep 17 00:00:00 2001 From: Julien Pivotto Date: Mon, 31 Aug 2020 14:00:46 +0200 Subject: [PATCH] Fix rules.html afte name cleaup in #7841 (#7865) Signed-off-by: Julien Pivotto --- web/ui/templates/rules.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/web/ui/templates/rules.html b/web/ui/templates/rules.html index 327ca0fc1..5c1c15db2 100644 --- a/web/ui/templates/rules.html +++ b/web/ui/templates/rules.html @@ -10,8 +10,8 @@

{{.Name}}

-

{{if .GetEvaluationTimestamp.IsZero}}Never{{else}}{{since .GetEvaluationTimestamp}} ago{{end}}

-

{{humanizeDuration .GetEvaluationDuration.Seconds}}

+

{{if .GetLastEvaluation.IsZero}}Never{{else}}{{since .GetLastEvaluation}} ago{{end}}

+

{{humanizeDuration .GetEvaluationTime.Seconds}}