Bugfix in Mailer
This commit is contained in:
parent
4c33b726be
commit
ab39a78f2e
@ -7,7 +7,7 @@
|
|||||||
<table class="table table-hover">
|
<table class="table table-hover">
|
||||||
<tbody>
|
<tbody>
|
||||||
<tr>
|
<tr>
|
||||||
<th style="text-align:left; width: 30%;">Name (gesamt):</th>
|
<th style="text-align:left; width: 30%;">Name:</th>
|
||||||
<td>{{ schueler.rufname }} {{ schueler.nachname }}</td>
|
<td>{{ schueler.rufname }} {{ schueler.nachname }}</td>
|
||||||
</tr>
|
</tr>
|
||||||
</tbody>
|
</tbody>
|
||||||
@ -18,7 +18,13 @@
|
|||||||
<tbody>
|
<tbody>
|
||||||
<tr>
|
<tr>
|
||||||
<th style="text-align:left; width: 30%;">Beruf:</th>
|
<th style="text-align:left; width: 30%;">Beruf:</th>
|
||||||
<td>{{ ausbildung.beruf.bezeichnung }}</td>
|
<td>
|
||||||
|
{% if ausbildung and ausbildung.beruf and ausbildung.beruf.bezeichnung %}
|
||||||
|
{{ ausbildung.beruf.bezeichnung }}
|
||||||
|
{% else %}
|
||||||
|
Ohne
|
||||||
|
{% endif %}
|
||||||
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user