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:
openhands committed 2026-07-11 12:01:05 +02:00
1 parent 7e1ae17a3b
commit 41be6835bf
347 files changed
+28378 -6091

No files matched your search

+3 -17
View File
@@ -53,11 +53,7 @@ export default async function ApplyStaffPage() {
return (
<main style={{ display: "grid", gap: "1.5rem" }}>
<ContentCard
icon="🛡️"
title={t("title", { hotel: hotelName })}
subtitle={t("subtitle")}
/>
<ContentCard icon="🛡️" title={t("title", { hotel: hotelName })} subtitle={t("subtitle")} />
{positions.length === 0 ? (
<ContentCard icon="🛡️" title={t("noPositionsTitle")}>
@@ -74,12 +70,7 @@ export default async function ApplyStaffPage() {
<div className="content-card-head">
{team?.badge ? (
/* eslint-disable-next-line @next/next/no-img-element */
<img
src={`${BADGE_IMG_BASE}/${team.badge}.gif`}
alt={rankName}
width={40}
height={40}
/>
<img src={`${BADGE_IMG_BASE}/${team.badge}.gif`} alt={rankName} width={40} height={40} />
) : (
<span className="content-card-icon" aria-hidden>
🛡️
@@ -102,12 +93,7 @@ export default async function ApplyStaffPage() {
</p>
{alreadyApplied ? (
<button
type="button"
className="btn btn-danger"
disabled
style={{ width: "100%" }}
>
<button type="button" className="btn btn-danger" disabled style={{ width: "100%" }}>
{t("alreadyApplied", { rank: rankName })}
</button>
) : (
+2 -11
View File
@@ -40,11 +40,7 @@ export default async function ApplyTeamPage() {
return (
<main style={{ display: "grid", gap: "1.5rem" }}>
<ContentCard
icon="🤝"
title={t("title", { hotel: hotelName })}
subtitle={t("subtitle")}
/>
<ContentCard icon="🤝" title={t("title", { hotel: hotelName })} subtitle={t("subtitle")} />
{teams.length === 0 ? (
<ContentCard icon="🤝" title={t("noPositionsTitle")}>
@@ -83,12 +79,7 @@ export default async function ApplyTeamPage() {
<div className="content-card-body">
{alreadyApplied ? (
<button
type="button"
className="btn btn-danger"
disabled
style={{ width: "100%" }}
>
<button type="button" className="btn btn-danger" disabled style={{ width: "100%" }}>
{t("pending")}
</button>
) : (