restore: encrypt file names checkbox only shown with password

This commit is contained in:
Girish Ramakrishnan
2023-01-23 10:18:31 +01:00
parent c3730d3132
commit 935cc556df

View File

@@ -272,12 +272,14 @@
<input type="text" class="form-control" ng-model="password" id="inputConfigureBackupPassword" name="prefix" ng-disabled="busy" placeholder="Passphrase used to encrypt the backups" ng-required="encrypted">
</div>
<div class="checkbox" ng-show="format === 'rsync'">
<div class="checkbox" ng-show="format === 'rsync' && password.length !== 0">
<label>
<input type="checkbox" ng-model="encryptedFilenames">Decrypt Filenames</input>
</label>
</div>
<br/>
<div class="checkbox">
<label>
<input type="checkbox" ng-model="skipDnsSetup"><b>Dry run</b></sup>