Skip to content
Snippets Groups Projects
Verified Commit 04cd13c5 authored by Nik | Klampfradler's avatar Nik | Klampfradler
Browse files

Fix mobile phone data in participant list PDF, advances #9.

parent deddb03d
No related branches found
No related tags found
No related merge requests found
......@@ -4,7 +4,7 @@
\usepackage{tabu}
\usepackage{longtable}
\geometry{landscape}
\geometry{landscape,left=.5cm,right=.5cm}
\usepackage[export]{adjustbox}
......@@ -12,8 +12,8 @@
\begin{document}
\teckidshead{ {{ group.display_name }} \dash {% blocktrans %}Teilnehmerliste{% endblocktrans %}}
\begin{longtabu} to \linewidth {|@{}c@{}|l|l|l|l|X|l|l|}
\hline\rowfont\bfseries Foto & Nachname & Vorname & Geburts\-datum & Benutzer & Kontakt & Schule & Klasse \\\hline
\begin{longtabu} to \linewidth {|@{}c@{}|l|l|l|l|X[l]|X[l]|l|}
\hline\rowfont\bfseries Foto & Nachname & Vorname & Geburts\-datum & Benutzer & Handy & Schule & Klasse \\\hline
\endhead
{% for person in persons|dictsort:"sn" %}
\parbox[c][3cm]{2.25cm}{\includegraphics[width=2.24cm,height=2.99cm,keepaspectratio=true,valign=c]{{ person.jpeg_photo__rel|embrace }}} &
......@@ -21,10 +21,15 @@
\nohyphens{{ person.given_name|embrace }} &
\nohyphens{{ person.date_of_birth|embrace }} &
\texttt{{ person.uid|embrace }} &
Handy: \nohyphens{{ person.mobile|embrace }} \newline
{% for guardian in person.guardians %}
\nohyphens{{ guardian.cn|embrace }}: \nohyphens{{ guardian.mobile|embrace }} \newline
{% endfor %} &
\noindent\parbox[c]{\hsize}{
\begin{flushleft}
\nohyphens{{ person.mobile|embrace }} \newline ~%
{% for guardian in person.guardians_parents %}%
\newline
\nohyphens{{ guardian.cn|embrace }}: \nohyphens{{ guardian.mobile|embrace }}%
{% endfor %}
\end{flushleft}
} &
\nohyphens{{ person.o|embrace }}, \nohyphens{{ person.l|embrace }} &
\nohyphens{{ person.ou|embrace }} \\\hline
{% endfor %}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment