feat(recognitions): common path for vhb courses

This commit is contained in:
mosbach 2022-10-01 03:46:35 +02:00
parent 1bcbff6741
commit 18b7e95149

View File

@ -1445,14 +1445,18 @@ nodes:
- *student
- *pruefungsamt
payload-view: *payload-view-sozialekompetenz-notizen
"englisch antrag, student":
###########
# VHB #
###########
"vhb antrag, student:in":
messages:
- *message-antrag-student
edges:
"englisch beantragen":
"vhb beantragen":
source: "init"
<<: &englisch-beantragen
<<: &vhb-beantragen
mode: manual
messages:
- viewers:
@ -1460,31 +1464,70 @@ nodes:
- tag: initiator
status: info
content:
fallback: "Noteneintragung vom Ergebnis des Kurses „e-Xplore Technical English“ der HTWK Leipzig.
Dazu müssen Sie die Seite der Bestätigung hochladen, welche die Note und das Datum enthält; wenn Sie sich unsicher sind, gerne auch beide Seiten."
fallback: >-
Notenmeldung für anrechenbare Kurse der VHB (Virtuelle Hochschule Bayern).
<p>Laden Sie dazu bitte das Zertifikat hoch, welches Sie nach dem Bestehen des Kurses erhalten haben.</p>
fallback-lang: de-de-formal
translations:
en-eu: "Inclusion of grades from the course “e-Xplore Technical English” of the HTWK Leipzig.
You have to send the page with confirmation, grade, and date. If in doubt, send both pages."
en-eu: >-
Report your grade of an applicable course from the VHB (Virtuelle Hochschule Bayern).
<p>Please upload the certificate showing that you passed the course.</p>
- viewers:
- *student
- tag: initiator
status: info
content:
fallback: "Zum aktuellen Zeitpunkt können nur die hier zur Auswahl stehenden Kurse angerechnet werden."
fallback-lang: de-de-formal
translations:
en-eu: "Only the courses selectable below will currently be accepted."
display-label:
fallback: "Note aus dem Kurs „e-Xplore Technical English“ melden"
fallback: "Note von der VHB (Virtuelle Hochschule Bayern) melden"
fallback-lang: de-de-formal
translations:
en-eu: "Report grade for course “e-Xplore Technical English”"
en-eu: "Report grade from VHB (Virtuelle Hochschule Bayern)"
actors:
- *student
view-actor:
- *pruefungsamt
- *student
form: &englisch-form
form: &vhb-form
"kurs": &kurs-form
- "1": &kurs-field
tag: text
label:
fallback: "Kurs"
fallback-lang: de-de-formal
translations:
en-eu: "Course"
default: null
optional: false
presets:
- text: "e-Xplore Technical English"
label:
fallback: "e-Xplore Technical English (HTWK Leipzig)"
fallback-lang: de-de-formal
- text: "Scientific Writing SoSe 2022"
label:
fallback: "Scientific Writing (LMU) SoSe 2022"
fallback-lang: de-de-formal
- text: "Scientific Writing WiSe 2022/2023"
label:
fallback: "Scientific Writing (LMU) WiSe 2022/2023"
fallback-lang: de-de-formal
"note": &note-form
- "1": &note-field
- "2": &note-field
tag: text
label:
fallback: "Note"
fallback-lang: de-de-formal
translations:
en-eu: "Grade"
tooltip:
fallback: "Bei unbenoteten Kursen tragen Sie hier bitte „BE“ ein."
fallback-lang: de-de-formal
translations:
en-eu: "In case of an ungraded course please enter “BE”."
placeholder:
fallback: "Note"
fallback-lang: de-de-formal
@ -1492,7 +1535,7 @@ nodes:
en-eu: "Grade"
optional: false
"datum": &datum-form
- "2": &datum-field
- "3": &datum-field
tag: day
label:
fallback: "Datum"
@ -1500,24 +1543,24 @@ nodes:
translations:
en-eu: "Date"
tooltip:
fallback: "„Date of issue“ auf dem Zertifikat"
fallback: "Ausstellungsdatum des Zertifikats"
fallback-lang: de-de-formal
translations:
en-eu: "“Date of issue” on the certificate"
en-eu: "Date of issue of the certificate"
optional: false
"englischbeleg": &englischbeleg-form
- "3": &englischbeleg-field
"zertifikat": &zertifikat-form
- "4": &zertifikat-field
tag: file
label:
fallback: "Dokument"
fallback: "Zertifikat"
fallback-lang: de-de-formal
translations:
en-eu: "Documentation"
en-eu: "Certificate"
tooltip:
fallback: "Reichen Sie mindestens die Seite mit Note und Datum ein"
fallback: "Reichen Sie mindestens die Seite mit Note (falls benotet) und Datum ein"
fallback-lang: de-de-formal
translations:
en-eu: "Submit at least the page containing the grade and date"
en-eu: "Submit at least the page containing the grade (if graded) and date"
optional: false
config:
unpack-zips:
@ -1527,43 +1570,43 @@ nodes:
all-empty-ok: false
max-file-size: 5242880
restrict-extensions: ["pdf"]
"englisch selbst beantragen":
<<: *englisch-beantragen
"vhb selbst beantragen":
<<: *vhb-beantragen
mode: initial
form:
<<: *englisch-form
<<: *vhb-form
"student":
- "0":
tag: capture-user
actors:
- *any-student
"englisch editieren":
- *any-student
"vhb editieren":
mode: manual
display-label:
fallback: "Antrag bearbeiten"
fallback-lang: de-de-formal
translations:
en-eu: "Edit application"
source: "englisch antrag, student"
source: "vhb antrag, student:in"
actors:
- *student
view-actor:
- *pruefungsamt
- *student
form: *englisch-form
"englisch antrag zurueck":
form: *vhb-form
"vhb zurueck":
mode: manual
display-label:
fallback: "Antrag an Student:in zurück geben"
fallback: "Antrag an Student:in zurückgeben"
fallback-lang: de-de-formal
translations:
en-eu: "Hand application back to student"
source: "englisch antrag, pa"
source: "vhb antrag, pa"
actors:
- *pruefungsamt
view-actor:
- *pruefungsamt
form: &englisch-notizen-form
form: &vhb-form-optional
"note": &note-form-optional
- "1":
<<: *note-field
@ -1572,24 +1615,36 @@ nodes:
- "2":
<<: *datum-field
optional: true
"englischbeleg": &englischbeleg-form-optional
"zertifikat": &zertifikat-form-optional
- "3":
<<: *englischbeleg-field
<<: *zertifikat-field
optional: true
"notizen": *notizen-form
<<: *internenotizen-formblock-optional
viewers:
display-label:
fallback: "Antrag noch unfertig (Englisch)"
fallback: "Antrag noch unfertig"
fallback-lang: de-de-formal
translations:
en-eu: "Application not finished (English)"
en-eu: "Application not finished"
viewers:
- *student
- *pruefungsamt
payload-view: &payload-view-englisch-notizen
<<: &payload-view-englisch
payload-view: &vhb-payload-notizen
<<: &vhb-payload
<<: *payload-view-init
"kurs":
viewers:
- *student
- tag: initiator
- *pruefungsamt
display-label:
fallback: "Kurs"
fallback-lang: de-de-formal
translations:
en-eu: "Course"
"note":
viewers:
- *student
@ -1610,54 +1665,58 @@ nodes:
fallback-lang: de-de-formal
translations:
en-eu: "Date"
"englischbeleg":
"zertifikat":
viewers:
- *student
- tag: initiator
- *pruefungsamt
display-label:
fallback: "Beleg"
fallback: "Zertifikat"
fallback-lang: de-de-formal
translations:
en-eu: "Documentation"
en-eu: "Certificate"
<<: *payload-view-notizen
"englisch antrag, pa":
"vhb antrag, pa":
viewers:
display-label:
fallback: "Antrag in Begutachtung (Englisch)"
fallback: "Antrag in Begutachtung (VHB)"
fallback-lang: de-de-formal
translations:
en-eu: "Application being evaluated (English)"
en-eu: "Application being evaluated (VHB)"
viewers:
- *student
- *pruefungsamt
edges:
"englisch einreichen":
"vhb einreichen":
mode: manual
display-label:
fallback: "Antrag zur Begutachtung einreichen"
fallback-lang: de-de-formal
translations:
en-eu: "Submit application for evaluation"
source: "englisch antrag, student"
source: "vhb antrag, student:in"
actors:
- *student
view-actor:
- *pruefungsamt
- *student
payload-view: *payload-view-englisch-notizen
"englisch ok":
payload-view: *vhb-payload-notizen
"vhb ok":
final: ok
messages: *message-ok
edges:
"englisch akzeptieren":
"vhb akzeptieren":
mode: manual
display-label:
fallback: "Antrag genehmigen"
fallback-lang: de-de-formal
translations:
en-eu: "Accept application"
source: "englisch antrag, pa"
source: "vhb antrag, pa"
actors:
- *pruefungsamt
view-actor:
@ -1665,34 +1724,36 @@ nodes:
form:
"note": *note-form
"datum": *datum-form
"kurs": *kurs-form
"semester": &semester-form-optional
- "3": &semester-field-optional
- "4": &semester-field-optional
<<: *semester-field
optional: true
<<: *internenotizen-formblock-optional
viewers:
display-label:
fallback: "Antrag genehmigt (Englisch)"
fallback: "Antrag genehmigt (VHB)"
fallback-lang: de-de-formal
translations:
en-eu: "Application accepted (English)"
en-eu: "Application accepted (VHB)"
viewers:
- *student
- *pruefungsamt
payload-view:
<<: *payload-view-englisch
<<: *vhb-payload
<<: *payload-view-internenotizen
"englisch abgelehnt":
"vhb abgelehnt":
final: not-ok
edges:
"englisch ablehnen":
"vhb ablehnen":
mode: manual
display-label:
fallback: "Antrag ablehnen"
fallback-lang: de-de-formal
translations:
en-eu: "Reject application"
source: "englisch antrag, pa"
source: "vhb antrag, pa"
actors:
- *pruefungsamt
view-actor:
@ -1702,14 +1763,17 @@ nodes:
<<: *internenotizen-formblock-optional
viewers:
display-label:
fallback: "Antrag abgelehnt (Englisch)"
fallback: "Antrag abgelehnt (VHB)"
fallback-lang: de-de-formal
translations:
en-eu: "Application rejected (English)"
en-eu: "Application rejected (VHB)"
viewers:
- *student
- *pruefungsamt
payload-view: *payload-view-englisch-notizen
payload-view: *vhb-payload-notizen
####################################
# Sozialekompetenz Master
####################################
@ -2139,6 +2203,7 @@ nodes:
- *entscheider
payload-view: *payload-view-sozialekompetenz-master-notizen
stages:
- label: "antrag"
display-label:
@ -2197,7 +2262,7 @@ stages:
- - tag: variable
var:
tag: node-in-history
node-in-history: "englisch antrag, student"
node-in-history: "vhb antrag, student:in"
- tag: variable
var:
tag: payload-filled
@ -2209,7 +2274,11 @@ stages:
- tag: variable
var:
tag: payload-filled
payload-filled: "englischbeleg"
payload-filled: "zertifikat"
- tag: variable
var:
tag: payload-filled
payload-filled: "kurs"
- mode: required
show-when: always
display-label:
@ -2238,7 +2307,7 @@ stages:
- - tag: variable
var:
tag: edge-in-history
edge-in-history: "englisch einreichen"
edge-in-history: "vhb einreichen"
- - tag: variable
var:
tag: edge-in-history
@ -2307,6 +2376,18 @@ stages:
var:
tag: node-in-history
node-in-history: "sozialekompetenz abgelehnt"
- - tag: variable
var:
tag: node-in-history
node-in-history: "vhb antrag, pa"
- tag: negated
var:
tag: node-in-history
node-in-history: "vhb ok"
- tag: negated
var:
tag: node-in-history
node-in-history: "vhb abgelehnt"
- mode: optional
show-when: always
display-label:
@ -2366,17 +2447,17 @@ stages:
- - tag: negated
<<: *stage-var--sozialekompetenz-antrag-zurueck-in-history
- - tag: variable
<<: &stage-var--englisch-antrag-zurueck-in-history
<<: &stage-var--vhb-antrag-zurueck-in-history
var:
tag: edge-in-history
edge-in-history: "englisch antrag zurueck"
- <<: &stage-neg--englisch-beantragen-previous
edge-in-history: "vhb zurueck"
- <<: &stage-neg--vhb-beantragen-previous
tag: negated
var:
tag: previous-node
previous-node: "englisch beantragen"
previous-node: "vhb beantragen"
- - tag: negated
<<: *stage-var--englisch-antrag-zurueck-in-history
<<: *stage-var--vhb-antrag-zurueck-in-history
- - tag: variable
<<: &stage-var--sozialekompetenz-master-antrag-zurueck-in-history
var:
@ -2412,8 +2493,8 @@ stages:
<<: *stage-var--sozialekompetenz-antrag-zurueck-in-history
- <<: *stage-neg--sozialekompetenz-beantragen-previous
- - tag: variable
<<: *stage-var--englisch-antrag-zurueck-in-history
- <<: *stage-neg--englisch-beantragen-previous
<<: *stage-var--vhb-antrag-zurueck-in-history
- <<: *stage-neg--vhb-beantragen-previous
- - tag: variable
<<: *stage-var--sozialekompetenz-master-antrag-zurueck-in-history
- <<: *stage-neg--sozialekompetenz-master-beantragen-previous