Skip to content

High performance self-hosted photo and video management solution.

Web: Revamp message for Storage Template Engine in admin pannel (#7359)

AndyPro720719dbcc4d05b
diff --git a/web/src/lib/components/admin-page/settings/storage-template/storage-template-settings.svelte b/web/src/lib/components/admin-page/settings/storage-template/storage-template-settings.svelte
index 5fc3b3e222..11e07d0029 100644
--- a/web/src/lib/components/admin-page/settings/storage-template/storage-template-settings.svelte
+++ b/web/src/lib/components/admin-page/settings/storage-template/storage-template-settings.svelte
@@ -84,7 +84,26 @@
};
</script>
-<section class="dark:text-immich-dark-fg">
+<section class="dark:text-immich-dark-fg mt-2">
+ <div in:fade={{ duration: 500 }} class="mx-4 flex flex-col gap-4 py-4">
+ <p class="text-sm dark:text-immich-dark-fg">
+ For more details about this feature, refer to the <a
+ href="https://immich.app/docs/administration/storage-template"
+ class="underline"
+ target="_blank"
+ rel="noreferrer"
+ >Storage Template
+ </a>
+ and its
+ <a
+ href="https://immich.app/docs/administration/backup-and-restore#asset-types-and-storage-locations"
+ class="underline"
+ target="_blank"
+ rel="noreferrer"
+ >implications
+ </a>
+ </p>
+ </div>
{#await getTemplateOptions() then}
<div id="directory-path-builder" class="flex flex-col gap-4 {minified ? '' : 'ml-4 mt-4'}">
<SettingSwitch