diff --git a/web/src/lib/components/shared-components/server-about-modal.svelte b/web/src/lib/components/shared-components/server-about-modal.svelte index 6a524331c2..1373a98d3f 100644 --- a/web/src/lib/components/shared-components/server-about-modal.svelte +++ b/web/src/lib/components/shared-components/server-about-modal.svelte @@ -4,6 +4,8 @@ import { type ServerAboutResponseDto, type ServerVersionHistoryResponseDto } from '@immich/sdk'; import { DateTime } from 'luxon'; import { t } from 'svelte-i18n'; + import { mdiAlert } from '@mdi/js'; + import Icon from '$lib/components/elements/icon.svelte'; export let onClose: () => void; @@ -152,6 +154,15 @@ {/if} + {#if info.sourceRef === 'main' && info.repository === 'immich-app/immich'} +
+ +

+ {$t('main_branch_warning')} +

+
+ {/if} +
{#if $connected && version} - + {:else}

{$t('unknown')}

{/if} diff --git a/web/src/lib/i18n/en.json b/web/src/lib/i18n/en.json index 155be38bcf..7b60fcbd2e 100644 --- a/web/src/lib/i18n/en.json +++ b/web/src/lib/i18n/en.json @@ -816,6 +816,7 @@ "look": "Look", "loop_videos": "Loop videos", "loop_videos_description": "Enable to automatically loop a video in the detail viewer.", + "main_branch_warning": "You're running a build from the main branch. We strongly recommend using a release version!", "make": "Make", "manage_shared_links": "Manage shared links", "manage_sharing_with_partners": "Manage sharing with partners",