From 6731c8d1517f8fae66f095d18528e3e1b62e801b Mon Sep 17 00:00:00 2001 From: Kasper Birch Date: Thu, 25 Apr 2024 14:16:01 +0200 Subject: [PATCH] Remove unnecessary checkboxes for repeated opening hours Instead, we give the label a more descriptive title. --- src/apps/opening-hours-editor/EventForm.tsx | 31 +++---------------- .../OpeningHoursEditor.dev.tsx | 9 ++---- .../OpeningHoursEditor.entry.tsx | 1 - 3 files changed, 6 insertions(+), 35 deletions(-) diff --git a/src/apps/opening-hours-editor/EventForm.tsx b/src/apps/opening-hours-editor/EventForm.tsx index 6c4116f952..ad1c0a7384 100644 --- a/src/apps/opening-hours-editor/EventForm.tsx +++ b/src/apps/opening-hours-editor/EventForm.tsx @@ -180,37 +180,14 @@ const EventForm: React.FC = ({ htmlFor="event-form-repeated" > {t("openingHoursEventFormRepeatedText", { - placeholders: { "@startDate": startDateString } + placeholders: { + "@startDate": startDateString, + "@weekDayName": weekDayName + } })} -
- - -
- -
- - -
-