mirror of
https://github.com/immich-app/immich.git
synced 2025-07-09 09:12:57 +02:00
* chore(web): another missing translations * unused removed * more keys * lint fix * test fixed * dynamic translation fix * fixes * people search translation * params fixed * keep filter setting fix * lint fix * $t fixes * Update web/src/lib/i18n/en.json Co-authored-by: Michel Heusschen <59014050+michelheusschen@users.noreply.github.com> * another missing * activity translation * link sharing translations * expiration dropdown fix - didn't work localized * notification title * device logout * search results * reset to default * unsaved change * select from computer * selected * select-2 * select-3 * unmerge * pluralize, force icu message * Update web/src/lib/components/asset-viewer/asset-viewer.svelte Co-authored-by: Michel Heusschen <59014050+michelheusschen@users.noreply.github.com> * review fixes * remove user * plural fixes * ffmpeg settings * fixes * error title * plural fixes * onboarding * change password * more more * console log fix * another * api key desc * map marker * format fix * key fix * asset-utils * utils * misc --------- Co-authored-by: Michel Heusschen <59014050+michelheusschen@users.noreply.github.com>
25 lines
879 B
Svelte
25 lines
879 B
Svelte
<script lang="ts" context="module">
|
|
export interface SearchDisplayFilters {
|
|
isNotInAlbum?: boolean;
|
|
isArchive?: boolean;
|
|
isFavorite?: boolean;
|
|
}
|
|
</script>
|
|
|
|
<script lang="ts">
|
|
import Checkbox from '$lib/components/elements/checkbox.svelte';
|
|
import { t } from 'svelte-i18n';
|
|
|
|
export let filters: SearchDisplayFilters;
|
|
</script>
|
|
|
|
<div id="display-options-selection">
|
|
<fieldset>
|
|
<legend class="immich-form-label">{$t('display_options').toUpperCase()}</legend>
|
|
<div class="flex flex-wrap gap-x-5 gap-y-2 mt-1">
|
|
<Checkbox id="not-in-album-checkbox" label={$t('not_in_any_album')} bind:checked={filters.isNotInAlbum} />
|
|
<Checkbox id="archive-checkbox" label={$t('archive')} bind:checked={filters.isArchive} />
|
|
<Checkbox id="favorite-checkbox" label={$t('favorites')} bind:checked={filters.isFavorite} />
|
|
</div>
|
|
</fieldset>
|
|
</div>
|