diff options
| author | Aleksandr Nogikh <nogikh@google.com> | 2023-02-24 16:27:22 +0100 |
|---|---|---|
| committer | Dmitry Vyukov <dvyukov@google.com> | 2023-02-27 09:10:32 +0100 |
| commit | d97ac51374b09274ae135c21253bea2dd4f3aa49 (patch) | |
| tree | d3d21c33dfa53e4e8c6f4674661b236b3de775d8 /dashboard/app/subsystems.html | |
| parent | 9189cb53da283575621c0138ff58bc091db844e4 (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.html | 4 |
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> |
