From 5fdab1bf1132817771db4159caba8d0380153460 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Colomb?= Date: Sun, 3 Mar 2024 21:09:57 +0100 Subject: [PATCH] gui: Show encryption status for devices sharing folder (ref #8808) (#9355) This re-implements the stalled enhancement from #8808. Thanks @Craeckie for the idea and first implementation draft! If a folder is shared to a device with encryption, add a lock icon in front of the device name under "Shared With" in the folder details panel. Be careful not to add whitespace caused by line wraps in HTML source code, which would defeat the purpose of keeping the icon glued to the name by a non-breaking space. Apply the same lock icon for the list of folders shared with a device. --- gui/default/index.html | 10 ++++++++-- gui/default/syncthing/core/syncthingController.js | 9 +++++++++ 2 files changed, 17 insertions(+), 2 deletions(-) diff --git a/gui/default/index.html b/gui/default/index.html index 26f4e8655..5a825a7e6 100644 --- a/gui/default/index.html +++ b/gui/default/index.html @@ -587,7 +587,10 @@  Shared With - {{deviceName(devices[device.deviceID])}}1{{deviceName(devices[device.deviceID])}}2{{deviceName(devices[device.deviceID])}}{{folderLabel(folderID)}}1{{folderLabel(folderID)}}2{{folderLabel(folderID)}}