feat: add 'Gottesdienst' button at bottom of ListView for admin

- ListView accepts admin prop and shows add button when true
- Emits addGottesdienst event handled by PlanView's createGottesdienst
- Dashed border style to distinguish it as an add action
This commit is contained in:
2026-07-14 21:58:25 +02:00
parent 9a42d16f9e
commit a8c459d714
2 changed files with 33 additions and 0 deletions
+2
View File
@@ -342,7 +342,9 @@ async function importZelebrationsplan() {
:marks="getMarks()"
:editable="plan.editable"
:current-username="currentUsername"
:admin="editPlanAdmin"
@toggle-mark="toggleMark"
@add-gottesdienst="createGottesdienst()"
class="plan list"
v-if="viewMode === 'list'">