Skip to content

Commit

Permalink
fix: prerelease page using old configs (#89)
Browse files Browse the repository at this point in the history
Reviewed-on: https://git.montehaselino.de/DHBW/dhbw-abb-typst-template/pulls/89
Co-authored-by: servostar <sven.vogel123@web.de>
Co-committed-by: servostar <sven.vogel123@web.de>
  • Loading branch information
Servostar committed Nov 25, 2024
1 parent 08602bc commit faf7d24
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions src/pages/prerelease-note.typ
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
pagebreak(weak: true)

let thesis = config.thesis
let author = config.author

if text.lang == "de" [
#heading("Vorabfassung")
Expand Down Expand Up @@ -46,13 +45,9 @@
set par(justify: true)

if text.lang == "de" [
handelt es sich _nicht_ um die fertige Fassung. Das Dokument kann Inhaltliche-, Grammatikalische- sowie Format-Fehler enthalten. Das Dokument ist im Rahmen der Aufgabenstellung von Seiten der #author.university nicht zur Bewertung freigegeben und ein anderer Verwendungszweck als eine Vorschau ist nicht gestattet.
handelt es sich _nicht_ um die fertige Fassung. Das Dokument kann Inhaltliche-, Grammatikalische- sowie Format-Fehler enthalten. Das Dokument ist im Rahmen der Aufgabenstellung von Seiten der #university.name nicht zur Bewertung freigegeben und ein anderer Verwendungszweck als eine Vorschau ist nicht gestattet.
] else if text.lang == "en" [
is not the final version. The document may contain errors in content, grammar and formatting. The document may not be released for evaluation to #author.university as part of the assignment, and any use other than a preview is not permitted.
is not the final version. The document may contain errors in content, grammar and formatting. The document may not be released for evaluation to #university.name as part of the assignment, and any use other than a preview is not permitted.
]

v(1em)
h(1em)
[#author.name, #datetime.today().display()]
}
)

0 comments on commit faf7d24

Please sign in to comment.