mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-07 18:44:08 +00:00
phonenumber on 3party: twig stuffs
This commit is contained in:
parent
5407dbfc98
commit
c2e284682f
@ -110,8 +110,8 @@
|
|||||||
}) }}
|
}) }}
|
||||||
</li>
|
</li>
|
||||||
<li><i class="fa fa-li fa-phone"></i>
|
<li><i class="fa fa-li fa-phone"></i>
|
||||||
{% if thirdparty.telephone %}
|
{% if thirdparty.telephone is not null %}
|
||||||
<a href="{{ 'tel:' ~ thirdparty.telephone }}">{{ thirdparty.telephone|chill_format_phonenumber }}</a>
|
<a href="{{ 'tel:' ~ thirdparty.telephone|phone_number_format('E164') }}">{{ thirdparty.telephone|chill_format_phonenumber }}</a>
|
||||||
{% else %}
|
{% else %}
|
||||||
<span class="chill-no-data-statement">{{ 'thirdparty.No_phonenumber'|trans }}</span>
|
<span class="chill-no-data-statement">{{ 'thirdparty.No_phonenumber'|trans }}</span>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
@ -67,10 +67,10 @@
|
|||||||
<dt>{{ 'Phonenumber'|trans }}</dt>
|
<dt>{{ 'Phonenumber'|trans }}</dt>
|
||||||
<dd>
|
<dd>
|
||||||
{% if thirdParty.telephone == null %}
|
{% if thirdParty.telephone == null %}
|
||||||
<span class="chill-no-data-statement">{{ 'No phone given'|trans }}</span>
|
<span class="chill-no-data-statement">{{ 'thirdparty.No_phonenumber'|trans }}</span>
|
||||||
{% else %}
|
{% else %}
|
||||||
<a href="{{ 'tel:' ~ thirdParty.telephone }}">
|
<a href="{{ 'tel:' ~ thirdParty.telephone|phone_number_format('E164') }}">
|
||||||
{{ thirdParty.telephone|chill_print_or_message("thirdparty.No_phonenumber") }}
|
{{ thirdParty.telephone|chill_format_phonenumber }}
|
||||||
</a>
|
</a>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</dd>
|
</dd>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user