From d2eef5abe2ecefacea086658606dd300a2f0ae97 Mon Sep 17 00:00:00 2001 From: Thorsten Bus Date: Sun, 29 Mar 2026 12:10:46 +0200 Subject: [PATCH] feat(ui): add agenda settings to Settings page --- resources/js/Pages/Settings.vue | 85 +++++++++++++++++++++++++++++++-- 1 file changed, 80 insertions(+), 5 deletions(-) diff --git a/resources/js/Pages/Settings.vue b/resources/js/Pages/Settings.vue index e787374..d764ef5 100644 --- a/resources/js/Pages/Settings.vue +++ b/resources/js/Pages/Settings.vue @@ -11,10 +11,16 @@ const props = defineProps({ }) const fields = [ - { key: 'macro_name', label: 'Makro-Name', placeholder: 'z.B. Copyright Makro' }, - { key: 'macro_uuid', label: 'Makro-UUID', placeholder: 'z.B. 11111111-2222-3333-4444-555555555555' }, - { key: 'macro_collection_name', label: 'Collection-Name', defaultValue: '--MAIN--' }, - { key: 'macro_collection_uuid', label: 'Collection-UUID', defaultValue: '8D02FC57-83F8-4042-9B90-81C229728426' }, + // Macro configuration fields + { key: 'macro_name', label: 'Makro-Name', placeholder: 'z.B. Copyright Makro', section: 'macro' }, + { key: 'macro_uuid', label: 'Makro-UUID', placeholder: 'z.B. 11111111-2222-3333-4444-555555555555', section: 'macro' }, + { key: 'macro_collection_name', label: 'Collection-Name', defaultValue: '--MAIN--', section: 'macro' }, + { key: 'macro_collection_uuid', label: 'Collection-UUID', defaultValue: '8D02FC57-83F8-4042-9B90-81C229728426', section: 'macro' }, + // Agenda configuration fields + { key: 'agenda_start_title', label: 'Ablauf-Start', placeholder: 'z.B. Ablauf* oder Beginn*', section: 'agenda' }, + { key: 'agenda_end_title', label: 'Ablauf-Ende', placeholder: 'z.B. Ende* oder Schluss*', section: 'agenda' }, + { key: 'agenda_announcement_position', label: 'Ankündigungen-Position', placeholder: 'z.B. Informationen*,Hinweise*', helpText: 'Komma-getrennte Liste. Das erste passende Element im Ablauf bestimmt, wo die Ankündigungsfolien eingefügt werden. * als Platzhalter.', section: 'agenda' }, + { key: 'agenda_sermon_matching', label: 'Predigt-Erkennung', placeholder: 'z.B. Predigt*,Sermon*', helpText: 'Komma-getrennte Liste. Erkannte Elemente bekommen einen Predigt-Upload-Bereich. * als Platzhalter.', section: 'agenda' }, ] const form = reactive({}) @@ -86,7 +92,7 @@ async function saveField(key) {
@@ -149,6 +155,75 @@ async function saveField(key) {
+ +
+
+

Agenda-Konfiguration

+

Diese Einstellungen steuern, wie der Gottesdienst-Ablauf angezeigt und exportiert wird.

+
+
+
+ + +
+ + +
+ + + + +
+ +
+ + + +
+
+ +

+ {{ errors[field.key] }} +

+ +

{{ field.helpText }}

+ +

+ Standard: {{ field.defaultValue }} +

+
+
+