aboutsummaryrefslogtreecommitdiffstats
path: root/dashboard/app/subsystems.html
diff options
context:
space:
mode:
authorAleksandr Nogikh <nogikh@google.com>2023-02-24 16:27:22 +0100
committerDmitry Vyukov <dvyukov@google.com>2023-02-27 09:10:32 +0100
commitd97ac51374b09274ae135c21253bea2dd4f3aa49 (patch)
treed3d21c33dfa53e4e8c6f4674661b236b3de775d8 /dashboard/app/subsystems.html
parent9189cb53da283575621c0138ff58bc091db844e4 (diff)
dashboard: suggest to show all subsystems only when needed
Check if any subsystems have been hidden from the list before suggesting to show the rest.
Diffstat (limited to 'dashboard/app/subsystems.html')
-rw-r--r--dashboard/app/subsystems.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/dashboard/app/subsystems.html b/dashboard/app/subsystems.html
index efaf45c7f..208c4f243 100644
--- a/dashboard/app/subsystems.html
+++ b/dashboard/app/subsystems.html
@@ -15,8 +15,8 @@ The list of polled trees.
{{template "header" .Header}}
<h2>The list of subsystems</h2><br>
<i>(*) Note that the numbers below do not represent the latest data. They are updated once an hour.</i><br><br>
- {{if .NonEmpty}}
- Empty subsystems have been hidden from the list. {{link .EmptyURL "Show all"}}. <br>
+ {{if .SomeHidden}}
+ Empty subsystems have been hidden from the list. {{link .ShowAllURL "Show all"}}. <br>
{{end}}
<table class="list_table">
<caption>Subsystems list</caption>