Add missing admin action files and navigation links
- Add 11 missing server action files: badges, bulk-users, catalog, catalog-bc, catalog-items, import-badges, import-furni, multi-account-detect, permissions, rooms, soundtracks - Add missing admin navigation links: tickets, sounds, translations, import, radio sub-pages - Add translation keys for all new navigation items
This commit is contained in:
1 parent
7e1ae17a3b
commit
41be6835bf
347 files changed
+28378
-6091
No files matched your search
@@ -36,11 +36,7 @@ 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;
|
||||
|
||||
@@ -118,10 +114,7 @@ export default async function HelpCategoryPage({
|
||||
) : 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" }}>
|
||||
@@ -140,11 +133,7 @@ export default async function HelpCategoryPage({
|
||||
</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
|
||||
|
||||
@@ -35,11 +35,7 @@ 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")} />
|
||||
|
||||
Reference in new issue
Block a user