mirror of
https://github.com/immich-app/immich.git
synced 2025-06-03 13:44:16 -04:00
feat(web): show trash days info in trash page (#4484)
This commit is contained in:
parent
62cb14e4b6
commit
45ffa65173
@ -325,7 +325,7 @@
|
|||||||
"map_location_dialog_cancel": "Cancel",
|
"map_location_dialog_cancel": "Cancel",
|
||||||
"map_location_dialog_yes": "Yes",
|
"map_location_dialog_yes": "Yes",
|
||||||
"trash_page_title": "Trash ({})",
|
"trash_page_title": "Trash ({})",
|
||||||
"trash_page_info": "Backed up items will be permanently deleted after {} days",
|
"trash_page_info": "Trashed items will be permanently deleted after {} days",
|
||||||
"trash_page_no_assets": "No trashed assets",
|
"trash_page_no_assets": "No trashed assets",
|
||||||
"trash_page_delete": "Delete",
|
"trash_page_delete": "Delete",
|
||||||
"trash_page_delete_all": "Delete All",
|
"trash_page_delete_all": "Delete All",
|
||||||
|
@ -19,7 +19,7 @@
|
|||||||
import DeleteOutline from 'svelte-material-icons/DeleteOutline.svelte';
|
import DeleteOutline from 'svelte-material-icons/DeleteOutline.svelte';
|
||||||
import HistoryOutline from 'svelte-material-icons/History.svelte';
|
import HistoryOutline from 'svelte-material-icons/History.svelte';
|
||||||
import type { PageData } from './$types';
|
import type { PageData } from './$types';
|
||||||
import { featureFlags } from '$lib/stores/server-config.store';
|
import { featureFlags, serverConfig } from '$lib/stores/server-config.store';
|
||||||
import { goto } from '$app/navigation';
|
import { goto } from '$app/navigation';
|
||||||
import empty3Url from '$lib/assets/empty-3.svg';
|
import empty3Url from '$lib/assets/empty-3.svg';
|
||||||
import ConfirmDialogue from '$lib/components/shared-components/confirm-dialogue.svelte';
|
import ConfirmDialogue from '$lib/components/shared-components/confirm-dialogue.svelte';
|
||||||
@ -87,6 +87,9 @@
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<AssetGrid forceDelete {assetStore} {assetInteractionStore}>
|
<AssetGrid forceDelete {assetStore} {assetInteractionStore}>
|
||||||
|
<p class="font-medium text-gray-500/60 dark:text-gray-300/60">
|
||||||
|
Trashed items will be permanently deleted after {$serverConfig.trashDays} days.
|
||||||
|
</p>
|
||||||
<EmptyPlaceholder
|
<EmptyPlaceholder
|
||||||
text="Trashed photos and videos will show up here."
|
text="Trashed photos and videos will show up here."
|
||||||
alt="Empty trash can"
|
alt="Empty trash can"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user