diff options
Diffstat (limited to 'gui/default/index.html')
-rw-r--r-- | gui/default/index.html | 10 |
1 files changed, 8 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 @@ <th><span class="fas fa-fw fa-share-alt"></span> <span translate>Shared With</span></th> <td class="text-right no-overflow-ellipse overflow-break-word"> <span ng-repeat="device in otherDevices(folder.devices)"> - <span ng-switch="completion[device.deviceID][folder.id].remoteState"><!-- Avoid stray space... + <span ng-if="folder.type !== 'receiveencrypted' && device.encryptionPassword" class="text-nowrap"> + <span class="fa fa-lock"></span> <!-- Avoid stray space... + --></span><!-- Avoid stray space... + --><span ng-switch="completion[device.deviceID][folder.id].remoteState"><!-- Avoid stray space... --><span ng-switch-when="notSharing" data-original-title="{{'The remote device has not accepted sharing this folder.' | translate}}" tooltip>{{deviceName(devices[device.deviceID])}}<sup>1</sup></span><!-- Avoid stray space... --><span ng-switch-when="paused" data-original-title="{{'The remote device has paused this folder.' | translate}}" tooltip>{{deviceName(devices[device.deviceID])}}<sup>2</sup></span><!-- Avoid stray space... --><span ng-switch-default>{{deviceName(devices[device.deviceID])}}</span><!-- Avoid stray space... @@ -943,7 +946,10 @@ <th><span class="fas fa-fw fa-folder"></span> <span translate>Folders</span></th> <td class="text-right no-overflow-ellipse overflow-break-word"> <span ng-repeat="folderID in deviceFolders(deviceCfg)"> - <span ng-switch="completion[deviceCfg.deviceID][folderID].remoteState"><!-- Avoid stray space... + <span ng-if="folderIsSharedEncrypted(folderID, deviceCfg.deviceID)" class="text-nowrap"> + <span class="fa fa-lock"></span> <!-- Avoid stray space... + --></span><!-- Avoid stray space... + --><span ng-switch="completion[deviceCfg.deviceID][folderID].remoteState"><!-- Avoid stray space... --><span ng-switch-when="notSharing" data-original-title="{{'The remote device has not accepted sharing this folder.' | translate}}" tooltip>{{folderLabel(folderID)}}<sup>1</sup></span><!-- Avoid stray space... --><span ng-switch-when="paused" data-original-title="{{'The remote device has paused this folder.' | translate}}" tooltip>{{folderLabel(folderID)}}<sup>2</sup></span><!-- Avoid stray space... --><span ng-switch-default>{{folderLabel(folderID)}}</span><!-- Avoid stray space... |