Compare commits

...

3 Commits

Author SHA1 Message Date
Sven Vogel 6c068a4453 Merge pull request 'feat: add option to make supervisor signature optional' (#111) from feat/make-supervisor-signature-optional into develop
Build'n check / run-ci-linux (push) Successful in 2m18s Details
Build'n check / run-ci-linux (pull_request) Successful in 2m16s Details
Reviewed-on: #111
Run-Checks
2024-11-25 15:56:50 +00:00
Sven Vogel e60bf7d794 Merge branch 'develop' into feat/make-supervisor-signature-optional
Build'n check / run-ci-linux (push) Has been skipped Details
2024-11-25 15:56:21 +00:00
Sven Vogel 6d84cf4a19 feat: add option to make supervisor signature optional 2024-11-25 16:55:44 +01:00
2 changed files with 19 additions and 16 deletions

View File

@ -24,6 +24,7 @@
name: "dualen Hochschule Baden-Württemberg", name: "dualen Hochschule Baden-Württemberg",
campus: "Eppelheim" campus: "Eppelheim"
), ),
supervisor-signature: false,
authors: ( authors: (
( (
name: "Sven Vogel", name: "Sven Vogel",

View File

@ -147,22 +147,24 @@
#context panic("no translation for language: ", text.lang) #context panic("no translation for language: ", text.lang)
] ]
#align( #if config.supervisor-signature {
bottom, align(
grid( bottom,
// set width of columns grid(
// we need two, so make both half the page width // set width of columns
columns: (60%, 40%), // we need two, so make both half the page width
align(left, if text.lang == "de" [ columns: (60%, 40%),
Unterschrift des betrieblichen Betreuers align(left, if text.lang == "de" [
] else if text.lang == "en" [ Unterschrift des betrieblichen Betreuers
Signature of the company supervisor ] else if text.lang == "en" [
] else [ Signature of the company supervisor
#context panic("no translation for language: ", text.lang) ] else [
] #context panic("no translation for language: ", text.lang)
), ]
align(right, {line(length: 6cm)})), ),
) align(right, {line(length: 6cm)})),
)
}
#counter(page).update(0) #counter(page).update(0)
] ]