Revert "Add missing admin action files and navigation links"

This reverts commit 41be6835bf.
This commit is contained in:
Simo committed 2026-07-11 20:37:56 +02:00
1 parent 4a1e1115b3
commit 4d515bc400
338 files changed
+5949 -28144

No files matched your search

+14 -3
View File
@@ -36,7 +36,11 @@ function withHotel(text: string | null | undefined, hotelName: string): string {
return (text ?? "").split(":hotel").join(hotelName);
}
export default async function HelpCategoryPage({ params }: { params: Promise<{ category: string }> }) {
export default async function HelpCategoryPage({
params,
}: {
params: Promise<{ category: string }>;
}) {
const t = await getTranslations("pages.helpCategory");
const { category } = await params;
@@ -114,7 +118,10 @@ export default async function HelpCategoryPage({ params }: { params: Promise<{ c
) : null}
{/* content is author-supplied HTML — sanitised server-side. */}
<div style={{ lineHeight: 1.7 }} dangerouslySetInnerHTML={{ __html: sanitize(content) }} />
<div
style={{ lineHeight: 1.7 }}
dangerouslySetInnerHTML={{ __html: sanitize(content) }}
/>
{hasButton ? (
<div style={{ clear: "both", marginTop: "1rem" }}>
@@ -133,7 +140,11 @@ export default async function HelpCategoryPage({ params }: { params: Promise<{ c
</ContentCard>
{siblings.length > 0 ? (
<ContentCard icon="🧭" title={t("moreTitle")} subtitle={t("moreSubtitle")}>
<ContentCard
icon="🧭"
title={t("moreTitle")}
subtitle={t("moreSubtitle")}
>
<div className="card-grid sm-2 lg-3">
{siblings.map((s) => (
<Link
+5 -1
View File
@@ -35,7 +35,11 @@ export default async function HelpTicketsPage() {
return (
<main style={{ display: "grid", gap: "1.5rem" }}>
<ContentCard icon="🎫" title={t("title")} subtitle={t("subtitle")}>
<ContentCard
icon="🎫"
title={t("title")}
subtitle={t("subtitle")}
>
<div className="stat-grid">
<StatBlock icon="🎫" value={tickets.length} label={t("statTotal")} />
<StatBlock icon="📬" value={openCount} label={t("statOpen")} />