diff --git a/diploma.yaml b/diploma.yaml
index 18b277b..68007cf 100644
--- a/diploma.yaml
+++ b/diploma.yaml
@@ -626,33 +626,6 @@ nodes:
- *student
form:
"kommunikation": *kommunikation-form-optional
- "nebenfachabschluss":
- - "2": &nf-abschluss-field-optional
- tag: file
- label:
- fallback: "Abschlussdokumente Nebenfach"
- fallback-lang: de-de-formal
- translations:
- en-eu: "Minor Diploma"
- tooltip:
- fallback: >-
- Sofern auf Ihrem Kontoauszug keine Nebenfachnote aufgeführt ist,
- laden Sie hier bitte Ihr Nebenfachabschlusszeugnis hoch.
- fallback-lang: de-de-formal
- translations:
- en-eu: >-
- In case the grade of you minor subject is not listed on your transcript
- of records, please upload your minor diploma here.
- default: null
- optional: true
- config:
- unpack-zips:
- default: true
- force: true
- multiple: true
- all-empty-ok: false
- max-file-size: 5242880
- restrict-extensions: ["pdf"]
"zustimmung":
- "3":
tag: text
@@ -717,9 +690,32 @@ nodes:
form:
"kommunikation": *kommunikation-form-optional
"nebenfachabschluss":
- - "2":
- <<: *nf-abschluss-field-optional
+ - "2": &nf-abschluss-field
+ tag: file
+ label:
+ fallback: "Abschlussdokumente Nebenfach"
+ fallback-lang: de-de-formal
+ translations:
+ en-eu: "Minor Diploma"
+ tooltip:
+ fallback: >-
+ Sofern auf Ihrem Kontoauszug keine Nebenfachnote aufgeführt ist,
+ laden Sie hier bitte Ihr Nebenfachabschlusszeugnis hoch.
+ fallback-lang: de-de-formal
+ translations:
+ en-eu: >-
+ In case the grade of you minor subject is not listed on your transcript
+ of records, please upload your minor diploma here.
+ default: null
optional: false
+ config: &nf-abschluss-field-config
+ unpack-zips:
+ default: true
+ force: true
+ multiple: true
+ all-empty-ok: false
+ max-file-size: 5242880
+ restrict-extensions: ["pdf"]
"antrag in begutachtung":
viewers:
@@ -770,7 +766,12 @@ nodes:
en-eu: "Student"
"kommunikation": *kommunikation-form-optional
"nebenfachabschluss":
- - "2": *nf-abschluss-field-optional
+ - "2":
+ <<: *nf-abschluss-field
+ optional: true
+ config:
+ <<: *nf-abschluss-field-config
+ all-empty-ok: true
"kommunikation anpassen, student, antrag in begutachtung":
<<: *kommunikation-student-edge
source: "antrag in begutachtung"
@@ -1285,7 +1286,7 @@ nodes:
en-eu: "Diploma (scanned)"
tooltip: null
optional: false
- config:
+ config: &zeugnisscan-field-config
unpack-zips:
default: false
force: true
@@ -1311,6 +1312,9 @@ nodes:
- "3": &zeugnisscan-optional-field
<<: *zeugnisscan-field
optional: true
+ config:
+ <<: *zeugnisscan-field-config
+ all-empty-ok: true
"zeugnisunterschrift bestaetigen, unterschrift, informatik":
<<: *zeugnisunterschrift-bestaetigen-edge
source: "zeugnis unterschrift, informatik"