mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-07 18:44:08 +00:00
twig filter format_date need only one argument
This commit is contained in:
parent
f5ca681dbc
commit
aa121d6dae
4
Resources/views/ThirdParty/_render.html.twig
vendored
4
Resources/views/ThirdParty/_render.html.twig
vendored
@ -28,14 +28,14 @@
|
||||
{% endif %}
|
||||
</div>
|
||||
{%- if options['with_valid_from'] == true -%}
|
||||
<span class="address_since">{{ 'Since %date%'|trans( { '%date%' : contact.address.validFrom|format_date('long', 'none') } ) }}</span>
|
||||
<span class="address_since">{{ 'Since %date%'|trans( { '%date%' : contact.address.validFrom|format_date('long') } ) }}</span>
|
||||
{%- endif -%}
|
||||
</div>
|
||||
{% endif %}
|
||||
{% if contact.email or contact.telephone is not empty %}
|
||||
<div class="chill_contact_contact">
|
||||
<span class="email">
|
||||
<a href="mailto:{{ contact.email }}">{{ contact.email }}</>
|
||||
<a href="mailto:{{ contact.email }}">{{ contact.email }}</a>
|
||||
</span>
|
||||
<span class="telephone">
|
||||
<a href="tel:{{ contact.telephone }}">{{ contact.telephone|chill_format_phonenumber }}</a>
|
||||
|
Loading…
x
Reference in New Issue
Block a user