From ede31a9b5144a9da36a8c5382d3b1ab892abcc83 Mon Sep 17 00:00:00 2001 From: Zubin Mithra Date: Thu, 8 Aug 2019 09:14:01 -0700 Subject: dashboard/app: fix UI typo and formatting error There is a typo and a formatting bug that can be viewed at bugs such as https://syzkaller.appspot.com/bug?id=f007ef1d7a31a469e3be7aeb0fde0769b18585db Also cleanup the formatting in surrounding areas so that it is much clearer. --- dashboard/app/templates.html | 21 +++++++++++---------- 1 file changed, 11 insertions(+), 10 deletions(-) diff --git a/dashboard/app/templates.html b/dashboard/app/templates.html index 335b87772..03ec25298 100644 --- a/dashboard/app/templates.html +++ b/dashboard/app/templates.html @@ -242,11 +242,11 @@ Use of this source code is governed by Apache 2 LICENSE that can be found in the ({{link .LogLink "bisect log"}})
{{else if .Commit}} {{if eq .Type $causeJob}} - Bisection: introduced by + Bisection: introduced by {{else if eq .Type $fixJob}} - Bisection: fixed by + Bisection: fixed by {{end}} - ({{link .LogLink "bisect log"}}):
+ ({{link .LogLink "bisect log"}}):

commit {{.Commit.Hash}}
Author: {{.Commit.Author}}
@@ -256,22 +256,23 @@ Use of this source code is governed by Apache 2 LICENSE that can be found in the

{{else if .Commits}} {{if eq .Type $causeJob}} - Bisection: the cause commit could be any of + Bisection: the cause commit could be any of {{else if eq .Type $fixJob}} - Bisection: the fix commit could be any of + Bisection: the fix commit could be any of {{end}} - ({{link .LogLink "bisect log"}}):
+ ({{link .LogLink "bisect log"}}):

{{range $com := .Commits}}   {{formatTagHash $com.Hash}} {{$com.Title}}
{{end}} +
{{else}} {{if eq .Type $causeJob}} - Bisection: the bug happens on the oldest tested release + Bisection: the bug happens on the oldest tested release {{else if eq .Type $fixJob}} - Bisection: the fix commit could be any of + Bisection: the bug occurs on the latest tested release {{end}} -
+
{{end}} Tree: {{.KernelAlias}}
{{if .CrashLogLink}} @@ -281,4 +282,4 @@ Use of this source code is governed by Apache 2 LICENSE that can be found in the {{optlink .Crash.KernelConfigLink ".config"}}
{{end}} {{end}} -{{end}} \ No newline at end of file +{{end}} -- cgit mrf-deployment