From 7027ee786d703f39ca6820efae4861b4a15bc87a Mon Sep 17 00:00:00 2001 From: David Mosbach Date: Fri, 3 Feb 2023 03:06:02 +0100 Subject: [PATCH 1/2] feat(cs-minor-degrees): multiple accessors for the exam. office of the main subject --- cs-minor-degrees.yaml | 21 ++++++++++++++++----- 1 file changed, 16 insertions(+), 5 deletions(-) diff --git a/cs-minor-degrees.yaml b/cs-minor-degrees.yaml index 0a6ae5f..dcf6019 100644 --- a/cs-minor-degrees.yaml +++ b/cs-minor-degrees.yaml @@ -343,18 +343,29 @@ nodes: optional: false "pruefungsamt_hf": #TODO backend - "5": - tag: user - label: + tag: multiple + label: fallback: "Prüfungsamt Hauptfach" fallback-lang: de-de-formal translations: - en-eu: "Exam. Office of Main Subject" - tooltip: + en-eu: "Exam. Office of Main Subject" + tooltip: fallback: "Gewährt dem Hauptfach-Prüfungsamt Zugriff auf den Workflow." fallback-lang: de-de-formal translations: en-eu: "Grants the examination office of the main subject access to the workflow." default: null - optional: true + min: 0 + range: null + sub: + tag: user + label: + fallback: "Prüfungsamt Hauptfach" + fallback-lang: de-de-formal + translations: + en-eu: "Exam. Office of Main Subject" + tooltip: null + default: null + optional: false "kommunikation": - "6": *kommunikation-field-optional \ No newline at end of file From 6ae19dfc69fbb05d5227732d4fefd35bbbbf3af5 Mon Sep 17 00:00:00 2001 From: David Mosbach Date: Fri, 3 Feb 2023 03:20:41 +0100 Subject: [PATCH 2/2] feat(cs-minor-degrees): initially finalise degrees --- cs-minor-degrees.yaml | 29 +++++++++++++++++++++++++++-- 1 file changed, 27 insertions(+), 2 deletions(-) diff --git a/cs-minor-degrees.yaml b/cs-minor-degrees.yaml index dcf6019..6a1b5cb 100644 --- a/cs-minor-degrees.yaml +++ b/cs-minor-degrees.yaml @@ -302,7 +302,7 @@ nodes: actors: - *pruefungsamt view-actor: *view-alle - form: + form: &abschliessen-form "abschlussdokumente": - "1": tag: file @@ -368,4 +368,29 @@ nodes: default: null optional: false "kommunikation": - - "6": *kommunikation-field-optional \ No newline at end of file + - "6": *kommunikation-field-optional + "initial fertigstellen": + mode: initial + display-label: + fallback: "Nebenfach abschließen" + fallback-lang: de-de-formal + translations: + en-eu: "Finalise minor degree" + actors: + - *pruefungsamt + view-actor: *view-alle + form: + <<: *abschliessen-form + "student:in": + - "0": + tag: user + label: + fallback: "Student:in" + fallback-lang: de-de-formal + translations: + en-eu: "Student" + tooltip: null + default: null + optional: false + "nebenfachvariante": + - "0.1": *nebenfach-field \ No newline at end of file