Show explicit label for backup and filename encryption if enabled

This commit is contained in:
Johannes Zellner
2025-10-09 13:26:14 +02:00
parent 3096b67b76
commit 4a1a915add
3 changed files with 13 additions and 4 deletions
+7 -1
View File
@@ -287,8 +287,14 @@ onMounted(async () => {
<div><b style="font-size: 18px">{{ site.name }}</b><i style="margin-left: 10px">{{ prettyBackupContents(site.contents) }}</i></div>
<Button tool plain secondary @click.capture="onActionMenu(site, $event)" icon="fa-solid fa-ellipsis" />
</div>
<div v-if="site.encrypted">
<span v-if="site.encryptedFilenames">{{ $t('backups.useFileAndFileNameEncryption') }}</span>
<span v-else>{{ $t('backups.useFileEncryption') }}</span>
<i class="fa-solid fa-lock"></i>
</div>
<div>
<i v-if="site.encrypted" class="fa-solid fa-lock"></i>
Storage: <b>{{ site.provider }} ({{ site.format }}) </b>
<span>at
<span v-if="site.provider === 'filesystem'">{{ site.config.backupDir }}{{ (site.config.prefix ? `/${site.config.prefix}` : '') }}</span>