From 6d054745bf64572ceb1ed4f3af99ec9f5f365be9 Mon Sep 17 00:00:00 2001 From: Manuel Meister Date: Sat, 20 Jan 2024 11:51:45 +0100 Subject: [PATCH] Move activity edit dialogs and simplify props (cherry picked from commit e726a7f513817fcf53ddadb86b326fa8f90f0877) --- common/locales/de.json | 1 + .../src/components/activity/ScheduleEntry.vue | 6 ++-- .../dialog}/DialogActivityEdit.vue | 33 ++++++------------- .../dialog}/DialogActivityForm.vue | 2 +- .../dialog}/FormScheduleEntryItem.vue | 0 .../dialog}/FormScheduleEntryList.vue | 2 +- .../program/DialogActivityCreate.vue | 8 ++--- .../components/program/ScheduleEntries.vue | 5 ++- .../program/picasso/PicassoEntry.vue | 7 +++- frontend/src/locales/de.json | 8 +++++ frontend/src/locales/en.json | 8 +++++ frontend/src/locales/it.json | 8 +++++ frontend/src/locales/rm.json | 8 +++++ 13 files changed, 60 insertions(+), 36 deletions(-) rename frontend/src/components/{program => activity/dialog}/DialogActivityEdit.vue (79%) rename frontend/src/components/{program => activity/dialog}/DialogActivityForm.vue (95%) rename frontend/src/components/{program => activity/dialog}/FormScheduleEntryItem.vue (100%) rename frontend/src/components/{program => activity/dialog}/FormScheduleEntryList.vue (97%) diff --git a/common/locales/de.json b/common/locales/de.json index 5c546db9de2..71aff8d823e 100644 --- a/common/locales/de.json +++ b/common/locales/de.json @@ -238,6 +238,7 @@ "endDate": "Enddatum", "endDatetime": "Endzeit", "nr": "Nr.", + "start": "Start", "startDate": "Startdatum", "startDatetime": "Startzeit", "time": "Zeitpunkt" diff --git a/frontend/src/components/activity/ScheduleEntry.vue b/frontend/src/components/activity/ScheduleEntry.vue index 0d0610ab31b..3bcb03794b5 100644 --- a/frontend/src/components/activity/ScheduleEntry.vue +++ b/frontend/src/components/activity/ScheduleEntry.vue @@ -203,9 +203,9 @@ Displays a single scheduleEntry