onlineanmeldung-pegnitz/templates/schueler/_mail_show.html.twig

72 lines
2.2 KiB
Twig

<table class="table table-hover">
<tbody>
<tr>
<th style="text-align:left">Name (gesamt):</th>
<td>{{ schueler.vorname }} {{ schueler.nachname }}</td>
</tr>
<tr>
<th style="text-align:left">Rufname:</th>
<td>{{ schueler.rufname }}</td>
</tr>
<tr>
<th style="text-align:left">Geburtsdatum:</th>
<td>{{ schueler.geburtsdatum ? schueler.geburtsdatum|date('d.m.Y') : '' }}</td>
</tr>
<tr>
<th style="text-align:left">Geburtsort:</th>
<td>{{ schueler.geburtsort }}</td>
</tr>
<tr>
<th style="text-align:left">Geschlecht:</th>
<td>
{% if schueler.geschlecht == 'm' %}
Männlich
{% elseif schueler.geschlecht == 'w' %}
Weiblich
{% elseif schueler.geschlecht == 'd' %}
Divers
{% else %}
{% endif %}
</td>
</tr>
<tr>
<th style="text-align:left">Straße:</th>
<td>{{ schueler.strasse }} {{ schueler.hsnr }}</td>
</tr>
<tr>
<th style="text-align:left">Ort:</th>
<td>{{ schueler.plz }} {{ schueler.ort }}</td>
</tr>
<tr>
<th style="text-align:left">Telefonnummer:</th>
<td>{{ schueler.tel }}</td>
</tr>
<tr>
<th style="text-align:left">E-Mail Adresse:</th>
<td>{{ schueler.email }}</td>
</tr>
<tr>
<th style="text-align:left">Geburtsland:</th>
<td>{{ schueler.geburtslandReadable }}</td>
</tr>
{% if schueler.zuzugAm is not null %}
<tr>
<th style="text-align:left">Zuzug nach Deutschland:</th>
<td>{{ schueler.zuzugAm ? schueler.zuzugAm|localizeddate('full', 'none', 'de' , null, 'MMMM yyyy') : '' }}</td>
</tr>
<tr>
<th style="text-align:left">Zuzugsart:</th>
<td>{{ schueler.zuzugsart ? schueler.zuzugsartReadable }}</td>
</tr>
{% endif %}
<tr>
<th style="text-align:left">Staatsangehörigkeit:</th>
<td>{{ schueler.staatsangehoerigkeitReadable }}</td>
</tr>
<tr>
<th style="text-align:left">Bekenntnis:</th>
<td>{{ schueler.bekenntnisReadable }}</td>
</tr>
</tbody>
</table>