feat: redesign CMS and unify German admin UI
This commit is contained in:
@@ -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++;
|
||||
|
||||
Reference in New Issue
Block a user