From 572ed211cea4449a7e78d838dc910f2e5ada7d01 Mon Sep 17 00:00:00 2001 From: Dmitry Vyukov Date: Mon, 26 Feb 2018 10:31:12 +0100 Subject: dashboard/app: fix check for closed bugs Template if's do not work this way! --- dashboard/app/bug.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'dashboard') diff --git a/dashboard/app/bug.html b/dashboard/app/bug.html index 318ac54d0..89f8d6c05 100644 --- a/dashboard/app/bug.html +++ b/dashboard/app/bug.html @@ -19,7 +19,7 @@ Page with details about a single bug. Status: {{if .Bug.ExternalLink}}{{.Bug.Status}}{{else}}{{.Bug.Status}}{{end}}
{{if .Bug.Commits}} Commits: {{.Bug.Commits}}
- {{if not .Bug.ClosedTime}} + {{if .Bug.ClosedTime.IsZero}} Patched on: {{.Bug.PatchedOn}}, missing on: {{.Bug.MissingOn}}
{{end}} {{end}} -- cgit mrf-deployment