diff options
-rwxr-xr-x | cli.js | 2 | ||||
-rw-r--r-- | zeitung/main.tex | 2 | ||||
-rw-r--r-- | zeitung/parts/committeeoverview.tex | 2 | ||||
-rw-r--r-- | zeitung/parts/courseoverview.tex | 2 | ||||
-rw-r--r-- | zeitung/parts/studentprofiles.tex | 1 | ||||
-rw-r--r-- | zeitung/parts/studenttemplate.tex | 7 |
6 files changed, 4 insertions, 12 deletions
@@ -115,7 +115,7 @@ if ((idx = params.indexOf("-r")) > -1) { future: answer("Zukunftspläne"), }; - obj.birthday = new Date(obj.birthday == "nichts" ? "1.1.2000" : obj.birthday).toLocaleDateString("de"); + obj.birthday = new Date(obj.birthday == "nichts" ? "unbekannt" : obj.birthday).toLocaleDateString("de"); // QR-Code obj.qrcode = sanitizeQR(answer("QR-Code Text (z.B. Social Media Links, random Text, whatever)")); diff --git a/zeitung/main.tex b/zeitung/main.tex index 2f84d59..487f321 100644 --- a/zeitung/main.tex +++ b/zeitung/main.tex @@ -170,8 +170,6 @@ \part{photos} \part{trips} \adverthalfnorot{b-group} -\part{courseoverview} -\part{committeeoverview} \part{conclusion} \part{imprint} \part{final} diff --git a/zeitung/parts/committeeoverview.tex b/zeitung/parts/committeeoverview.tex deleted file mode 100644 index 4a06348..0000000 --- a/zeitung/parts/committeeoverview.tex +++ /dev/null @@ -1,2 +0,0 @@ -\title{Abikomitee} -\lipsum[1-2] diff --git a/zeitung/parts/courseoverview.tex b/zeitung/parts/courseoverview.tex deleted file mode 100644 index c9a7d0d..0000000 --- a/zeitung/parts/courseoverview.tex +++ /dev/null @@ -1,2 +0,0 @@ -\title{Kurse} -\lipsum[1-2] diff --git a/zeitung/parts/studentprofiles.tex b/zeitung/parts/studentprofiles.tex index 2b4cb06..b1dc194 100644 --- a/zeitung/parts/studentprofiles.tex +++ b/zeitung/parts/studentprofiles.tex @@ -1,6 +1,5 @@ \providecommand\studentprofile[1]{ \newpage - \title{#1} \classoverview{#1} \inputall{parts/generated/students/#1} diff --git a/zeitung/parts/studenttemplate.tex b/zeitung/parts/studenttemplate.tex index 5523202..0428e9b 100644 --- a/zeitung/parts/studenttemplate.tex +++ b/zeitung/parts/studenttemplate.tex @@ -43,11 +43,10 @@ \AtTextUpperLeft{ \put(-\ringx + \ringoffset, -\ringy + \ringoffset){ \def\imgpath{parts/generated/students/figures/36_#1.jpg} - \IfFileExists{\imgpath}{} + \IfFileExists{\imgpath} { - \def\imgpath{placeholder/#1.jpg} - } - \includegraphics[keepaspectratio=true, width=\frameimgwidth]{\imgpath} + \includegraphics[keepaspectratio=true, width=\frameimgwidth]{\imgpath} + }{} } \put(-\ringx, -\ringy){ \includegraphics[keepaspectratio=true, width=\ringwidth]{ring.png} |