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.
This commit is contained in:
Zubin Mithra 2019-08-08 09:14:01 -07:00 committed by Dmitry Vyukov
parent a02b5bcae2
commit ede31a9b51

View File

@ -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"}})</b><br>
{{else if .Commit}}
{{if eq .Type $causeJob}}
<b>Bisection: introduced by
<b>Bisection: introduced by</b>
{{else if eq .Type $fixJob}}
<b>Bisection: fixed by
<b>Bisection: fixed by</b>
{{end}}
({{link .LogLink "bisect log"}}):</b><br>
<b>({{link .LogLink "bisect log"}}):</b><br>
<br><span class="mono">
commit {{.Commit.Hash}}<br>
Author: {{.Commit.Author}}<br>
@ -256,22 +256,23 @@ Use of this source code is governed by Apache 2 LICENSE that can be found in the
</span><br>
{{else if .Commits}}
{{if eq .Type $causeJob}}
<b>Bisection: the cause commit could be any of
<b>Bisection: the cause commit could be any of</b>
{{else if eq .Type $fixJob}}
<b>Bisection: the fix commit could be any of
<b>Bisection: the fix commit could be any of</b>
{{end}}
({{link .LogLink "bisect log"}}):</b><br>
<b>({{link .LogLink "bisect log"}}):</b><br>
<br><span class="mono">
{{range $com := .Commits}}
&nbsp;&nbsp;{{formatTagHash $com.Hash}} {{$com.Title}}<br>
{{end}}
</span>
{{else}}
{{if eq .Type $causeJob}}
<b>Bisection: the bug happens on the oldest tested release
<b>Bisection: the bug happens on the oldest tested release</b>
{{else if eq .Type $fixJob}}
<b>Bisection: the fix commit could be any of
<b>Bisection: the bug occurs on the latest tested release</b>
{{end}}
</span><br>
<br>
{{end}}
Tree: <span title="{{.Manager}}">{{.KernelAlias}}</span><br>
{{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"}}<br>
{{end}}
{{end}}
{{end}}
{{end}}