feat(frontend): link custom preferences in profile editor
This commit is contained in:
parent
c8e4078b35
commit
92bf933c10
7 changed files with 29 additions and 2 deletions
|
@ -12,6 +12,8 @@
|
|||
<svelte:element this={headerElem ?? "h4"}>
|
||||
{#if error.code === ErrorCode.BadRequest}
|
||||
{$t("error.bad-request-header")}
|
||||
{:else if error.status === 404}
|
||||
{$t("error.not-found-header")}
|
||||
{:else}
|
||||
{$t("error.generic-header")}
|
||||
{/if}
|
||||
|
|
|
@ -0,0 +1,8 @@
|
|||
<script lang="ts">
|
||||
import { t } from "$lib/i18n";
|
||||
</script>
|
||||
|
||||
<div class="alert alert-secondary">
|
||||
{$t("editor.custom-preference-notice")}
|
||||
<a href="/settings/pref" class="alert-link">{$t("editor.custom-preference-notice-link")}</a>
|
||||
</div>
|
Loading…
Add table
Add a link
Reference in a new issue