From 81f0b7a4bfe678021c8579cf0126af0eef74f995 Mon Sep 17 00:00:00 2001 From: ma0068 Date: Tue, 7 Jul 2026 16:43:01 +0200 Subject: [PATCH] make showErweitert configurable --- application/config/stv.php | 3 ++- .../components/Stv/Studentenverwaltung/Details/Notizen.js | 7 ++++++- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/application/config/stv.php b/application/config/stv.php index 34a30a96e..d62e58674 100644 --- a/application/config/stv.php +++ b/application/config/stv.php @@ -60,7 +60,8 @@ $config['tabs'] = ], 'notes' => [ //if true, the count of Messages will be shown in the header of the Tab Messages - 'showCountNotes' => true + 'showCountNotes' => true, + 'showErweitert' => true, ], 'combinePeople' => [ //multitab should only be shown with this length of selection diff --git a/public/js/components/Stv/Studentenverwaltung/Details/Notizen.js b/public/js/components/Stv/Studentenverwaltung/Details/Notizen.js index 4acb09156..89ac1bddd 100644 --- a/public/js/components/Stv/Studentenverwaltung/Details/Notizen.js +++ b/public/js/components/Stv/Studentenverwaltung/Details/Notizen.js @@ -8,7 +8,11 @@ export default { CoreNotiz }, props: { - modelValue: Object + modelValue: Object, + config: { + type: Object, + default: {} + } }, data() { return { @@ -31,6 +35,7 @@ export default { :visibleColumns="['titel','text','verfasser','bearbeiter','dokumente']" @reload="$emit('update:suffix')" tabulator-persistence-id="stv-notiz-20260217" + :show-erweitert="config.showErweitert" >