mirror of
https://github.com/immich-app/immich.git
synced 2025-11-28 07:49:52 +09:00
chore(web): tag creation hint (#12142)
* chore(web): tag creation hint * use FormatMessage * use correct format * use correct css class * copywriting
This commit is contained in:
@@ -7,6 +7,8 @@
|
||||
import { onMount } from 'svelte';
|
||||
import { getAllTags, type TagResponseDto } from '@immich/sdk';
|
||||
import Icon from '$lib/components/elements/icon.svelte';
|
||||
import { AppRoute } from '$lib/constants';
|
||||
import FormatMessage from '$lib/components/i18n/format-message.svelte';
|
||||
|
||||
export let onTag: (tagIds: string[]) => void;
|
||||
export let onCancel: () => void;
|
||||
@@ -38,6 +40,15 @@
|
||||
</script>
|
||||
|
||||
<FullScreenModal title={$t('tag_assets')} icon={mdiTag} onClose={onCancel}>
|
||||
<div class="text-sm">
|
||||
<p>
|
||||
<FormatMessage key="tag_not_found_question" let:message>
|
||||
<a href={AppRoute.TAGS} class="text-immich-primary dark:text-immich-dark-primary underline">
|
||||
{message}
|
||||
</a>
|
||||
</FormatMessage>
|
||||
</p>
|
||||
</div>
|
||||
<form on:submit|preventDefault={handleSubmit} autocomplete="off" id="create-tag-form">
|
||||
<div class="my-4 flex flex-col gap-2">
|
||||
<Combobox
|
||||
|
||||
Reference in New Issue
Block a user