Templating

This commit is contained in:
Pol Dellaiera
2022-02-22 14:21:06 +01:00
parent 18c57d532c
commit 29308110ea
8 changed files with 17 additions and 58 deletions

View File

@@ -69,8 +69,8 @@
{% if thirdParty.telephone == null %}
<span class="chill-no-data-statement">{{ 'No phone given'|trans }}</span>
{% else %}
<a href="{{ 'tel:' ~ thirdParty.telephone }}">
{{ thirdParty.telephone|chill_print_or_message("thirdparty.No_phonenumber") }}
<a href="{{ 'tel:' ~ thirdParty.telephone|phone_number_format('E164') }}">
{{ thirdParty.telephone|phone_number_format('NATIONAL') }}
</a>
{% endif %}
</dd>