aboutsummaryrefslogtreecommitdiffstats
path: root/dashboard/app
diff options
context:
space:
mode:
Diffstat (limited to 'dashboard/app')
-rw-r--r--dashboard/app/templates/main.html8
-rw-r--r--dashboard/app/templates/templates.html10
2 files changed, 7 insertions, 11 deletions
diff --git a/dashboard/app/templates/main.html b/dashboard/app/templates/main.html
index 285070ba8..5425a47a4 100644
--- a/dashboard/app/templates/main.html
+++ b/dashboard/app/templates/main.html
@@ -19,7 +19,13 @@ Main page.
{{end}}
{{template "bug_filter" $.BugFilter}}
{{range $group := $.Groups}}
- {{template "bug_list" $group}}
+ <details open>
+ <summary class="bug_list_caption">
+ {{$group.Caption}} ({{len $group.Bugs}})
+ <a id="{{$group.Fragment}}" href="#{{$group.Fragment}}">🔗</a>
+ </summary>
+ {{template "bug_list" $group}}
+ </details>
{{end}}
</body>
</html>
diff --git a/dashboard/app/templates/templates.html b/dashboard/app/templates/templates.html
index e469c18b3..a50197664 100644
--- a/dashboard/app/templates/templates.html
+++ b/dashboard/app/templates/templates.html
@@ -164,16 +164,6 @@ Use of this source code is governed by Apache 2 LICENSE that can be found in the
{{if .}}
{{if .Bugs}}
<table class="list_table">
- {{if $.Caption}}
- {{if $.Fragment}}
- <caption id="{{$.Fragment}}"><a class="plain" href="#{{$.Fragment}}">
- {{else}}
- <caption>
- {{end}}
- {{$.Caption}} ({{len $.Bugs}}):
- {{if $.Fragment}}</a>{{end}}
- </caption>
- {{end}}
<thead>
<tr>
{{if $.ShowNamespace}}