diff --git a/dashboard/app/main.go b/dashboard/app/main.go index ef6738905ebc..30a30eb84d6f 100644 --- a/dashboard/app/main.go +++ b/dashboard/app/main.go @@ -1898,7 +1898,6 @@ func loadDupsForBug(c context.Context, bug *Bug, state *ReportingState, } group := &uiBugGroup{ Now: timeNow(c), - Caption: "duplicates", ShowPatched: true, ShowStatus: true, Bugs: results, diff --git a/dashboard/app/templates/main.html b/dashboard/app/templates/main.html index 285070ba8515..5425a47a46bd 100644 --- a/dashboard/app/templates/main.html +++ b/dashboard/app/templates/main.html @@ -19,7 +19,13 @@ {{end}} {{template "bug_filter" $.BugFilter}} {{range $group := $.Groups}} - {{template "bug_list" $group}} +
+ + {{$group.Caption}} ({{len $group.Bugs}}) + 🔗 + + {{template "bug_list" $group}} +
{{end}} diff --git a/dashboard/app/templates/templates.html b/dashboard/app/templates/templates.html index e469c18b39c5..a501976645a5 100644 --- a/dashboard/app/templates/templates.html +++ b/dashboard/app/templates/templates.html @@ -164,16 +164,6 @@

syzbot

{{if .}} {{if .Bugs}} - {{if $.Caption}} - {{if $.Fragment}} - - {{end}} {{if $.ShowNamespace}} diff --git a/pkg/html/pages/style.css b/pkg/html/pages/style.css index f353bb5839c0..8bc46188264d 100644 --- a/pkg/html/pages/style.css +++ b/pkg/html/pages/style.css @@ -66,6 +66,13 @@ table td, table th { color: #375EAB; } +.bug_list_caption { + font-weight: bold; + font-size: large; + color: #375EAB; + cursor: pointer; +} + .position_table { border: 0px; margin: 0px;
- {{else}} - - {{end}} - {{$.Caption}} ({{len $.Bugs}}): - {{if $.Fragment}}{{end}} -