Merge pull request 'feat: add option to make supervisor signature optional' (#111) from feat/make-supervisor-signature-optional into develop
Reviewed-on: #111 Run-Checks
This commit is contained in:
commit
6c068a4453
|
@ -24,6 +24,7 @@
|
|||
name: "dualen Hochschule Baden-Württemberg",
|
||||
campus: "Eppelheim"
|
||||
),
|
||||
supervisor-signature: false,
|
||||
authors: (
|
||||
(
|
||||
name: "Sven Vogel",
|
||||
|
|
|
@ -147,22 +147,24 @@
|
|||
#context panic("no translation for language: ", text.lang)
|
||||
]
|
||||
|
||||
#align(
|
||||
bottom,
|
||||
grid(
|
||||
// set width of columns
|
||||
// we need two, so make both half the page width
|
||||
columns: (60%, 40%),
|
||||
align(left, if text.lang == "de" [
|
||||
Unterschrift des betrieblichen Betreuers
|
||||
] else if text.lang == "en" [
|
||||
Signature of the company supervisor
|
||||
] else [
|
||||
#context panic("no translation for language: ", text.lang)
|
||||
]
|
||||
),
|
||||
align(right, {line(length: 6cm)})),
|
||||
)
|
||||
#if config.supervisor-signature {
|
||||
align(
|
||||
bottom,
|
||||
grid(
|
||||
// set width of columns
|
||||
// we need two, so make both half the page width
|
||||
columns: (60%, 40%),
|
||||
align(left, if text.lang == "de" [
|
||||
Unterschrift des betrieblichen Betreuers
|
||||
] else if text.lang == "en" [
|
||||
Signature of the company supervisor
|
||||
] else [
|
||||
#context panic("no translation for language: ", text.lang)
|
||||
]
|
||||
),
|
||||
align(right, {line(length: 6cm)})),
|
||||
)
|
||||
}
|
||||
|
||||
#counter(page).update(0)
|
||||
]
|
||||
|
|
Loading…
Reference in New Issue