From d97ac51374b09274ae135c21253bea2dd4f3aa49 Mon Sep 17 00:00:00 2001 From: Aleksandr Nogikh Date: Fri, 24 Feb 2023 16:27:22 +0100 Subject: 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. --- dashboard/app/subsystems.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'dashboard/app/subsystems.html') 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}}

The list of subsystems


(*) Note that the numbers below do not represent the latest data. They are updated once an hour.

- {{if .NonEmpty}} - Empty subsystems have been hidden from the list. {{link .EmptyURL "Show all"}}.
+ {{if .SomeHidden}} + Empty subsystems have been hidden from the list. {{link .ShowAllURL "Show all"}}.
{{end}} -- cgit mrf-deployment
Subsystems list