Reapply "Add missing admin action files and navigation links"
This reverts commit 4d515bc400.
This commit is contained in:
1 parent
96ed768f14
commit
5b4228261a
338 files changed
+28143
-5948
No files matched your search
@@ -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>
|
||||
) : (
|
||||
|
||||
@@ -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>
|
||||
) : (
|
||||
|
||||
Reference in new issue
Block a user