From 9dc6e37e2d636190964964297692062dd3134bec Mon Sep 17 00:00:00 2001
From: mosbach
Date: Tue, 12 Jul 2022 01:57:53 +0200
Subject: [PATCH] feat: new workflow (ifi) for choosing minor subjects applies
to students of "Informatik mit integriertem Nebenfach"
---
minors.yaml | 404 ++++++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 404 insertions(+)
create mode 100644 minors.yaml
diff --git a/minors.yaml b/minors.yaml
new file mode 100644
index 0000000..f582c8c
--- /dev/null
+++ b/minors.yaml
@@ -0,0 +1,404 @@
+# Wahl des integrierten Nebenfachs #
+####################################
+
+###############
+# Beantragung #
+###############
+
+"Antrag":
+ viewers:
+ ########
+
+ display-label:
+ fallback: "Antrag eingereicht"
+ fallback-lang: de-de-formal
+ translations:
+ en-eu: "Application submitted"
+
+ viewers:
+ - &Student_in
+ tag: payload-reference
+ payload-label: "Student:in"
+ - &Pruefungsamt
+ tag: authorized
+ authorized: { "dnf-terms": [[{"tag": "variable", "var": "exam-office"}]] }
+
+ payload-view: &payload-view
+ #############
+
+ "Student:in":
+ viewers: &view-alle
+ - *Student_in
+ - *Pruefungsamt
+
+ display-label:
+ fallback: "Student:in"
+ fallback-lang: de-de-formal
+ translations:
+ en-eu: "Student"
+
+ "Nebenfach":
+ viewers: *view-alle
+ display-label:
+ fallback: "Nebenfach"
+ fallback-lang: de-de-formal
+ translations:
+ en-eu: "Minor Subject"
+
+ "Kommunikation":
+ viewers: *view-alle
+ display-label:
+ fallback: "Kommunikation"
+ fallback-lang: de-de-formal
+ translations:
+ en-eu: "Communication"
+
+ edges:
+ ######
+
+ "beantragen":
+ mode: initial
+
+ messages:
+ - Info-richtiger-Studiengang: # Hinweis zum nötigen Studiengang
+ viewers:
+ - *Student_in
+ - tag: initiator
+ status: warning
+ content:
+ fallback: >-
+ Um eines der hier wählbaren Nebenfächer zu belegen, müssen Sie zuvor im Studiengang
+ „Informatik mit integriertem Nebenfach“ eingeschrieben sein!
+ fallback-lang: de-de-formal
+ translations:
+ en-eu: >-
+ You need to be enrolled in “Informatik mit integriertem Nebenfach” before applying for
+ one of the following minors.
+
+ display-label:
+ fallback: "Nebenfach wählen"
+ fallback-lang: de-de-formal
+ translations:
+ en-eu: "Apply for minor"
+
+ actors:
+ - *Student_in
+ - tag: authorized
+ authorized: { "dnf-terms": [[{"tag": "variable", "var": "student" }]] }
+ view-actor: *view-alle
+
+ form: &Nebenfachangebot
+ "Student:in":
+ - "1":
+ tag: capture-user
+ "Nebenfach": # Auswahl aus Nebenfachliste
+ - "2":
+ tag: text
+ label:
+ fallback: "Integriertes Nebenfach"
+ fallback-lang: de-de-formal
+ translations:
+ en-eu: "Integrated minor (integriertes Nebenfach)"
+ tooltip:
+ fallback: "Bitte wählen Sie Ihr gewünschtes Nebenfach aus."
+ fallback-lang: de-de-formal
+ translations:
+ en-eu: "Please choose your preferred minor subject."
+ default: null
+ optional: false
+ presets:
+ - text: "Computerlinguistik" #
+ label:
+ fallback: "Computerlinguistik"
+ fallback-lang: de-de-formal
+ translations:
+ en-eu: "Computational Linguistics"
+ - text: "Mathematik" #
+ label:
+ fallback: "Mathematik"
+ fallback-lang: de-de-formal
+ translations:
+ en-eu: "Mathematics"
+ - text: "Psychologie" #
+ label:
+ fallback: "Psychologie"
+ fallback-lang: de-de-formal
+ translations:
+ en-eu: "Psychology"
+ - text: "Statistik" #
+ label:
+ fallback: "Statistik"
+ fallback-lang: de-de-formal
+ translations:
+ en-eu: "Statistics"
+
+ "korrigieren": # Auswahl im Nachhinein ändern
+ mode: manual
+ source: "Antrag"
+
+ messages:
+ - Info-Korrektur:
+ viewers:
+ - *Student_in
+ - tag: initiator
+ status: info
+ content:
+ fallback: "Solange der Antrag noch nicht bearbeitet wurde, können Sie Ihre Wahl ändern."
+ fallback-lang: de-de-formal
+ translations:
+ en-eu: "You can alter your application as long as it hasn't been processed."
+
+ display-label:
+ fallback: "Auswahl korrigieren"
+ fallback-lang: de-de-formal
+ translations:
+ en-eu: "Alter application"
+
+ actors:
+ - *Student_in
+ view-actor: *view-alle
+
+ form: *Nebenfachangebot
+
+ "Rueckfragen beantworten":
+ mode: manual
+ source: "Rueckfragen"
+
+ display-label:
+ fallback: "Rückfragen beantworten"
+ fallback-lang: de-de-formal
+ translations:
+ en-eu: "Answer inquiries"
+
+ actors:
+ - *Student_in
+ view-actor: *view-alle
+
+ form:
+ "Kommunikation":
+ - "1":
+ tag: text
+ large: true
+ label:
+ fallback: "Kommunikation"
+ fallback-lang: de-de-formal
+ translations:
+ en-eu: "Communication"
+ tooltip:
+ fallback: "Nachricht an Prüfungsamt"
+ fallback-lang: de-de-formal
+ translations:
+ en-eu: "Message to the examination office"
+ default: null
+ optional: false
+
+ final: false
+
+
+###############
+# Prüfungsamt #
+###############
+
+"Eingetragen":
+ viewers:
+ ########
+
+ display-label:
+ fallback: "Antrag erfolgreich"
+ fallback-lang: de-de-formal
+ translations:
+ en-eu: "Application successful"
+
+ viewers: *view-alle
+
+ payload-view: *payload-view
+ #############
+
+ edges:
+ ######
+
+ "eintragen": # Nebenfach wird akzeptiert & eingetragen
+ mode: manual
+ source: "Antrag"
+
+ display-label:
+ fallback: "Nebenfach eintragen"
+ fallback-lang: de-de-formal
+ translations:
+ en-eu: "Register minor subject"
+
+ actors:
+ - *Pruefungsamt
+ view-actor: *view-alle
+
+ messages:
+ - Eintragen-Info:
+ viewers:
+ - *Pruefungsamt
+ - tag: initiator
+ status: info
+ content:
+ fallback: "Bestätigung, dass dem Antrag stattgegeben und das gewählte Nebenfach eingetragen wurde."
+ fallback-lang: de-de-formal
+ translations:
+ en-eu: "Confirm that the application has been accepted and the minor subject has been registered."
+
+ final: true
+
+
+
+"Abgelehnt": # Nicht im richtigen Studiengang eingeschrieben
+ viewers:
+ ########
+
+ display-label:
+ fallback: "Antrag abgelehnt"
+ fallback-lang: de-de-formal
+ translations:
+ en-eu: "Application rejected"
+
+ viewers: *view-alle
+
+ payload-view: *payload-view
+ #############
+
+ messages:
+ #########
+
+ - Abgelehnt-Info:
+ viewers:
+ - *Student_in
+ status: info
+ content:
+ fallback: >-
+ Ihr Antrag wurde abgelehnt, da Sie zum aktuellen Zeitpunkt nicht im Studiengang „Informatik mit integriertem
+ Nebenfach“ eingeschrieben sind.
+
+
+ - Sie können sich in den genannten Studiengang umschreiben lassen, um eines der hier zur Auswahl stehenden Nebenfächer
+ zu belegen.
+ - Eine Übersicht der Nebenfächer, die mit anderen Informatik-Studiengängen kompatibel sind, finden Sie auf den
+ Seiten der Studiengangskoordination.
+
+ fallback-lang: de-de-formal
+ translations:
+ en-eu: >-
+ Your application has been rejected since you are currently not enrolled in the study program “Informatik mit
+ integriertem Nebenfach”.
+
+
+ - You can re-register for said study program in order to enrol in one of the minors offered here.
+ - An overview of all minor subjects compatible with the other study programs of Computer Science can be found
+ on the websites of the study coordinator.
+
+
+ edges:
+ ######
+
+ "ablehnen":
+ mode: manual
+ source: "Antrag"
+
+ display-label:
+ fallback: "Antrag ablehnen (falscher Studiengang)"
+ fallback-lang: de-de-formal
+ translations:
+ en-eu: "Reject application (wrong study program)"
+
+ actors:
+ - *Pruefungsamt
+ view-actor: *view-alle
+
+ messages:
+ - Ablehnen-Info:
+ viewers:
+ - *Pruefungsamt
+ - tag: initiator
+ status: info
+ content:
+ fallback: >-
+ Antrag ablehnen, falls der:die Student:in nicht im Studiengang „Informatik mit integriertem Nebenfach“
+ eingeschrieben ist.
+ fallback-lang: de-de-formal
+ translations:
+ en-eu: "Reject the application if the student is not enrolled in “Informatik mit integriertem Nebenfach”."
+
+ final: not-ok
+
+
+"Rueckfragen":
+ viewers:
+ ########
+
+ display-label:
+ fallback: "Rückfragen zum Antrag"
+ fallback-lang: de-de-formal
+ translations:
+ en-eu: "Further inquiries"
+
+ viewers: *view-alle
+
+ payload-view: *payload-view
+ #############
+
+ messages:
+ #########
+
+ - Rueckfragen-Info:
+ viewers:
+ - *Student_in
+ status: info
+ content:
+ fallback: "Es gibt Rückfragen zu Ihrem Antrag."
+ fallback-lang: de-de-formal
+ translations:
+ en-eu: "There are further inquiries regarding your application."
+
+ edges:
+ ######
+
+ "Rueckfragen stellen":
+ mode: manual
+ source: "Antrag"
+
+ display-label:
+ fallback: "Rückfragen zum Antrag stellen"
+ fallback-lang: de-de-formal
+ translations:
+ en-eu: "Check back on the application."
+
+ actors:
+ - *Pruefungsamt
+ - tag: initiator
+ view-actor: *view-alle
+
+ messages:
+ - Rueckfragen-stellen-Info:
+ viewers:
+ - *Pruefungsamt
+ status: info
+ content:
+ fallback: "Stellen Sie Rückfragen zum Antrag."
+ fallback-lang: de-de-formal
+ translations:
+ en-eu: "If you have further inquiries, check back on the application."
+
+ form:
+ "Kommunikation":
+ - "1":
+ tag: text
+ large: true
+ label:
+ fallback: "Kommunikation"
+ fallback-lang: de-de-formal
+ translations:
+ en-eu: "Communication"
+ tooltip:
+ fallback: "Nachricht an Student:in"
+ fallback-lang: de-de-formal
+ translations:
+ en-eu: "Message to the student"
+ default: null
+ optional: false
+
+ final: false
\ No newline at end of file