mirror of
https://github.com/immich-app/immich.git
synced 2025-07-08 10:44:15 -04:00
feat(web): workflows
This commit is contained in:
parent
e73dc3dc72
commit
b86e1c389e
@ -17,4 +17,14 @@
|
|||||||
</span>
|
</span>
|
||||||
{$t('review_duplicates')}
|
{$t('review_duplicates')}
|
||||||
</a>
|
</a>
|
||||||
|
|
||||||
|
<a
|
||||||
|
href={AppRoute.WORKFLOWS}
|
||||||
|
class="w-full hover:bg-gray-100 dark:hover:bg-immich-dark-gray flex items-center gap-4 p-4"
|
||||||
|
>
|
||||||
|
<span
|
||||||
|
><Icon path={mdiContentDuplicate} class="text-immich-primary dark:text-immich-dark-primary" size="24" />
|
||||||
|
</span>
|
||||||
|
{$t('workflows')}
|
||||||
|
</a>
|
||||||
</div>
|
</div>
|
||||||
|
@ -45,6 +45,7 @@ export enum AppRoute {
|
|||||||
|
|
||||||
UTILITIES = '/utilities',
|
UTILITIES = '/utilities',
|
||||||
DUPLICATES = '/utilities/duplicates',
|
DUPLICATES = '/utilities/duplicates',
|
||||||
|
WORKFLOWS = '/utilities/workflows',
|
||||||
|
|
||||||
FOLDERS = '/folders',
|
FOLDERS = '/folders',
|
||||||
TAGS = '/tags',
|
TAGS = '/tags',
|
||||||
|
@ -1283,6 +1283,7 @@
|
|||||||
"week": "Week",
|
"week": "Week",
|
||||||
"welcome": "Welcome",
|
"welcome": "Welcome",
|
||||||
"welcome_to_immich": "Welcome to immich",
|
"welcome_to_immich": "Welcome to immich",
|
||||||
|
"workflows": "Workflows",
|
||||||
"year": "Year",
|
"year": "Year",
|
||||||
"years_ago": "{years, plural, one {# year} other {# years}} ago",
|
"years_ago": "{years, plural, one {# year} other {# years}} ago",
|
||||||
"yes": "Yes",
|
"yes": "Yes",
|
||||||
|
11
web/src/routes/(user)/utilities/workflows/+page.svelte
Normal file
11
web/src/routes/(user)/utilities/workflows/+page.svelte
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
<script lang="ts">
|
||||||
|
import UserPageLayout from '$lib/components/layouts/user-page-layout.svelte';
|
||||||
|
import type { PageData } from './$types';
|
||||||
|
import UtilitiesMenu from '$lib/components/utilities-page/utilities-menu.svelte';
|
||||||
|
|
||||||
|
export let data: PageData;
|
||||||
|
</script>
|
||||||
|
|
||||||
|
<UserPageLayout title={data.meta.title}>
|
||||||
|
<div class="w-full max-w-xl m-auto"></div>
|
||||||
|
</UserPageLayout>
|
14
web/src/routes/(user)/utilities/workflows/+page.ts
Normal file
14
web/src/routes/(user)/utilities/workflows/+page.ts
Normal file
@ -0,0 +1,14 @@
|
|||||||
|
import { authenticate } from '$lib/utils/auth';
|
||||||
|
import { getFormatter } from '$lib/utils/i18n';
|
||||||
|
import type { PageLoad } from './$types';
|
||||||
|
|
||||||
|
export const load = (async () => {
|
||||||
|
await authenticate();
|
||||||
|
const $t = await getFormatter();
|
||||||
|
|
||||||
|
return {
|
||||||
|
meta: {
|
||||||
|
title: $t('workflows'),
|
||||||
|
},
|
||||||
|
};
|
||||||
|
}) satisfies PageLoad;
|
Loading…
x
Reference in New Issue
Block a user