feat: redesign CMS and unify German admin UI

This commit is contained in:
2026-09-17 16:51:24 +02:00
parent a2b3e99174
commit 7ec0c51ff5
129 changed files with 952 additions and 550 deletions
+4 -4
View File
@@ -20,7 +20,7 @@ function formatTime(date: Date): string {
/**
* Checks all upcoming online events for due 60/30-minute reminders and sends
* them — to registered, non-cancelled participants and (optionally) to the
* them - to registered, non-cancelled participants and (optionally) to the
* admin host. Idempotent: every send is guarded by a "...Sent" flag so a
* cron job that runs every few minutes never double-sends.
*/
@@ -74,7 +74,7 @@ export async function runEventReminders() {
dateLabel,
timeLabel,
joinUrl,
meetingPassword: event.meetingPassword || "—",
meetingPassword: event.meetingPassword || "-",
minutesBefore: threshold.minutes,
});
results.emailsSent++;
@@ -82,7 +82,7 @@ export async function runEventReminders() {
await payload.update({ collection: "events", id: event.id, data: { [threshold.hostField]: true } });
}
// Participant reminders — only registered (not cancelled), not yet sent.
// Participant reminders - only registered (not cancelled), not yet sent.
const { docs: registrations } = await payload.find({
collection: "event-registrations",
where: {
@@ -102,7 +102,7 @@ export async function runEventReminders() {
dateLabel,
timeLabel,
joinUrl,
meetingPassword: event.meetingPassword || "—",
meetingPassword: event.meetingPassword || "-",
minutesBefore: threshold.minutes,
});
results.emailsSent++;