Update with loading field files
This commit is contained in:
parent
e11a484290
commit
467727392a
4 changed files with 36 additions and 82 deletions
|
@ -1,8 +1,12 @@
|
|||
table.pdf:
|
||||
@echo "creating english version ..."
|
||||
python ../../coursebuilder -s schema.yaml -m mod.cg.yaml -l en -f name id | pandoc -o table.pdf
|
||||
table.en.pdf:
|
||||
@echo "creating English version ..."
|
||||
python ../../coursebuilder -s schema.yaml -m mod.cg.yaml -l en -f fields.yaml | pandoc --template pandoc-template/eisvogel.latex -o table.en.pdf
|
||||
|
||||
all: table.pdf
|
||||
table.de.pdf:
|
||||
@echo "creating German version ..."
|
||||
python ../../coursebuilder -s schema.yaml -m mod.cg.yaml -l de -f fields.yaml | pandoc --template pandoc-template/eisvogel.latex -o table.de.pdf
|
||||
|
||||
all: table.en.pdf table.de.pdf
|
||||
|
||||
clean:
|
||||
rm table.pdf
|
||||
rm table.en.pdf table.de.pdf
|
|
@ -1,5 +1,7 @@
|
|||
name:
|
||||
value: Computer Graphics
|
||||
de: Computergrafik
|
||||
en: Computer Graphics
|
||||
|
||||
|
||||
id:
|
||||
value: CG
|
||||
|
|
|
@ -6,7 +6,6 @@
|
|||
#
|
||||
name:
|
||||
type: str
|
||||
translatable: false
|
||||
label: {
|
||||
de: "Modulname",
|
||||
en: "name of course"
|
||||
|
@ -186,12 +185,12 @@ form-of-exam:
|
|||
term:
|
||||
label: {
|
||||
de: "Semester",
|
||||
en: "Term"
|
||||
en: "term"
|
||||
}
|
||||
type: int
|
||||
template:
|
||||
de: "$value$. Semester"
|
||||
en: "$value$ semester"
|
||||
de: " ${value}. Semester"
|
||||
en: " ${value}. semester"
|
||||
|
||||
#
|
||||
# Häufigkeit des Angebots
|
||||
|
@ -199,7 +198,7 @@ term:
|
|||
frequency:
|
||||
label: {
|
||||
de: "Häufigkeit des Angebots",
|
||||
en: "Frequency of Offer"
|
||||
en: "frequency of Offer"
|
||||
}
|
||||
type: "enum"
|
||||
values: {
|
||||
|
@ -215,6 +214,9 @@ frequency:
|
|||
|
||||
duration:
|
||||
type: int
|
||||
label:
|
||||
de: Dauer
|
||||
en: duration
|
||||
template:
|
||||
de: "$value Semester"
|
||||
en: "$value term(s)"
|
||||
|
@ -240,71 +242,5 @@ remarks:
|
|||
type: str
|
||||
label: {
|
||||
de: "Bemerkungen",
|
||||
en: "Remarks"
|
||||
}
|
||||
|
||||
# test:
|
||||
# label: { de: "Name", en: "A Test" }
|
||||
# type: enum
|
||||
# values: {
|
||||
# 'brand' : { de: "Marke", en: "Brand" },
|
||||
# 'new' : { de: "Neu", en: "New" }
|
||||
# }
|
||||
|
||||
|
||||
# # German
|
||||
# de:
|
||||
# name: Modulname
|
||||
# id: Kürzel
|
||||
# instructor: Modulverantwortlicher
|
||||
# goal: Qualifikationsziele
|
||||
# content: Modulinhalte
|
||||
# form: Lehrformen
|
||||
# prerequisites: Voraussetzungen für die Teilnahme
|
||||
# media-of-instruction: Literatur/ multimediale Lehr- und Lernprogramme
|
||||
# author-of-indenture: Lehrbriefautor
|
||||
# used-in: Verwendbarkeit
|
||||
# workload: Arbeitsaufwand/ Gesamtworkload
|
||||
# credits: ECTS und Gewichtung der Note in der Gesamtnote
|
||||
# form-of-exam: Leistungsnachweis
|
||||
# term: Semester
|
||||
# frequency: Häufigkeit des Angebots
|
||||
# duration: Dauer
|
||||
# kind: Art der Veranstaltung (Pflicht, Wahl, etc.)
|
||||
# remarks: Bemerkungen
|
||||
|
||||
# # English
|
||||
# en:
|
||||
# name: Coursename
|
||||
# id: Code
|
||||
# instructor: Instructor
|
||||
# goal: Goals of Qualification
|
||||
# content: Content and Topics
|
||||
# form: Form of Instruction
|
||||
# prerequisites: Prerequisites
|
||||
# media-of-instruction: Media of Instruction
|
||||
# author-of-indenture: Author of Indenture
|
||||
# used-in: Viable for Course
|
||||
# workload: Workload
|
||||
# credits: Credits and Weight of Mark
|
||||
# form-of-exam: Form of Examination
|
||||
# term: Term
|
||||
# frequency: Frequency
|
||||
# duration: Duration
|
||||
# kind: Compulsory / Elective
|
||||
# remarks: Remarks
|
||||
|
||||
# # validators for enum-fields
|
||||
# enums:
|
||||
# form:
|
||||
# - lecture
|
||||
# - seminar
|
||||
# - project
|
||||
# form-of-exam:
|
||||
# - written
|
||||
# - oral
|
||||
# - alternative
|
||||
# term:
|
||||
# - summer
|
||||
# - winter
|
||||
# - both
|
||||
en: "remarks"
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue