apa: do not display unknown contact information (#35149)
This commit is contained in:
parent
39401c8296
commit
5993ffc6ed
|
@ -4,9 +4,11 @@
|
|||
{% with inst=dossier.suivi.instructeur %}
|
||||
{% if inst %}
|
||||
<p class="contact-info">
|
||||
<span class="name">{{ inst.civilite }} {{ inst.prenom }} {{ inst.nom }}</span><br />
|
||||
<span class="phone">{{ inst.telephone|default:"non renseigné" }}</span><br />
|
||||
<span class="email">{{ inst.mail|default:"non renseigné" }}</span>
|
||||
{% if inst.prenom or inst.nom %}
|
||||
<span class="name">{{ inst.civilite|default:"" }} {{ inst.prenom|default:"" }} {{ inst.nom|default:"" }}</span><br />
|
||||
{% endif %}
|
||||
{% if inst.telephone %}<span class="phone">{{ inst.telephone }}</span><br />{% endif %}
|
||||
{% if inst.mail %}<span class="email">{{ inst.mail }}</span>{% endif %}
|
||||
</p>
|
||||
{% endif %}
|
||||
{% endwith %}
|
||||
|
|
Loading…
Reference in New Issue