aboutsummaryrefslogtreecommitdiffstats
path: root/dashboard
diff options
context:
space:
mode:
authorDmitry Vyukov <dvyukov@google.com>2018-02-26 10:31:12 +0100
committerDmitry Vyukov <dvyukov@google.com>2018-02-26 10:31:12 +0100
commit572ed211cea4449a7e78d838dc910f2e5ada7d01 (patch)
treec2caeb4d26a0b2691cbad0fdcc1f5d43df08b3c8 /dashboard
parent9fe8aa42c5bd11e2eb6952a16da6287205d7bf97 (diff)
dashboard/app: fix check for closed bugs
Template if's do not work this way!
Diffstat (limited to 'dashboard')
-rw-r--r--dashboard/app/bug.html2
1 files changed, 1 insertions, 1 deletions
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}}<a href="{{.Bug.ExternalLink}}">{{.Bug.Status}}</a>{{else}}{{.Bug.Status}}{{end}}<br>
{{if .Bug.Commits}}
Commits: {{.Bug.Commits}}<br>
- {{if not .Bug.ClosedTime}}
+ {{if .Bug.ClosedTime.IsZero}}
Patched on: {{.Bug.PatchedOn}}, missing on: {{.Bug.MissingOn}}<br>
{{end}}
{{end}}