Sitecof : Champ libre dans directoryentry

This commit is contained in:
Evarin 2020-08-29 23:15:28 +02:00
parent 7db75c0060
commit 74b9721fbd
3 changed files with 42 additions and 1 deletions

View file

@ -35,8 +35,10 @@
<li>
{% if block.block_type == "lien" %}
<a href="{{ block.value.url }}">{{ block.value.texte }}</a>
{% elif block.block_type == "contact" %}
<span class="label">{{ block.value.texte }} :</span> <button data-mref="{{ block.value.email|obfuscate_mail }}" class="facteur">{% trans "Afficher l'adresse mail" %}</button>
{% else %}
{{ block.value.texte }} : <button data-mref="{{ block.value.email|obfuscate_mail }}" class="facteur">{% trans "Afficher l'adresse mail" %}</a>
{% if block.value.nom %}<span class="label">{{ block.value.nom }} :</span> {% endif %}{{ block.value.texte }}
{% endif %}
</li>
{% endfor %}