From 8228020ff0e659f4bf5fbdd83b313a7b2ed92d3d Mon Sep 17 00:00:00 2001 From: tomasz1986 Date: Fri, 21 Oct 2022 16:01:41 +0200 Subject: [PATCH] gui: Display folder and device count number (#8615) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit In large setups, it is currently impossible to know the exact number of folders and remote devices without counting them manually, either in the GUI or in config.xml. Thus, to provide this information to the user, add a specific number right next to both Folders and Remote Devices headers in the Web GUI. The numbers are only displayed when two or more folders or devices are present. Signed-off-by: Tomasz WilczyƄski --- gui/default/index.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gui/default/index.html b/gui/default/index.html index e1a200584..ec3a65b36 100644 --- a/gui/default/index.html +++ b/gui/default/index.html @@ -336,7 +336,7 @@
-

Folders

+

Folders ({{folderList().length}})

-

Remote Devices

+

Remote Devices ({{otherDevices().length}})