diff --git a/src/components/admin/pages/Event.svelte b/src/components/admin/pages/Event.svelte index de2ff3a..e5fd3f2 100644 --- a/src/components/admin/pages/Event.svelte +++ b/src/components/admin/pages/Event.svelte @@ -56,11 +56,11 @@ - Referees + Schiedsrichter - Fights + Kämpfe diff --git a/src/components/admin/pages/Perms.svelte b/src/components/admin/pages/Perms.svelte index 8581601..a5b108f 100644 --- a/src/components/admin/pages/Perms.svelte +++ b/src/components/admin/pages/Perms.svelte @@ -131,7 +131,7 @@ on:click={togglePerm(perm)}>{capitalize(perm.toLowerCase())} {/each}
-
diff --git a/src/components/admin/pages/event/FightList.svelte b/src/components/admin/pages/event/FightList.svelte index 3557ab3..9536dcf 100644 --- a/src/components/admin/pages/event/FightList.svelte +++ b/src/components/admin/pages/event/FightList.svelte @@ -125,11 +125,11 @@ let groupSearch = ""; $: selectableGroups = [{ - name: "None", + name: "Keine", value: "" }, { value: groupSearch, - name: `Create: '${groupSearch}'` + name: `Erstelle: '${groupSearch}'` }, ...$groups.map(group => { return { name: group, diff --git a/src/components/dashboard/UserInfo.svelte b/src/components/dashboard/UserInfo.svelte index 40c940c..32fcdf7 100644 --- a/src/components/dashboard/UserInfo.svelte +++ b/src/components/dashboard/UserInfo.svelte @@ -48,7 +48,7 @@
{#if user.perms.includes("MODERATION")} - {t("dashboard.buttons.admin")} + {t("dashboard.buttons.admin")} {/if}
diff --git a/src/layouts/Basic.astro b/src/layouts/Basic.astro index ee4b602..0b7f65b 100644 --- a/src/layouts/Basic.astro +++ b/src/layouts/Basic.astro @@ -4,7 +4,7 @@ import {getImage} from "astro:assets"; import {astroI18n} from "astro-i18n"; import {SEO} from "astro-seo"; import {ViewTransitions} from "astro:transitions"; -const {title, description} = Astro.props.frontmatter || Astro.props; +const {title, description, clientSideRouter = true} = Astro.props.frontmatter || Astro.props; import "../../public/fonts/roboto/roboto.css"; @@ -40,7 +40,7 @@ if (localStorage["theme-mode"] === "light" || (!("theme-mode" in localStorage) & - + {clientSideRouter && } diff --git a/src/pages/admin/index.astro b/src/pages/admin/index.astro index a6b655d..15cae10 100644 --- a/src/pages/admin/index.astro +++ b/src/pages/admin/index.astro @@ -3,6 +3,6 @@ import App from "../../components/admin/App.svelte"; import Basic from "../../layouts/Basic.astro"; --- - + \ No newline at end of file