mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-24 00:23:50 +00:00
fix sf4 deprecated: rename twig spaceless tags
This commit is contained in:
@@ -104,13 +104,13 @@ This view should receive those arguments:
|
||||
{%- endif -%}
|
||||
{%- if chill_person.fields.country_of_birth == 'visible' -%}
|
||||
<dt>{{ 'Country of birth'|trans }} :</dt>
|
||||
<dd>{% spaceless %}
|
||||
<dd>{% apply spaceless %}
|
||||
{% if person.countryOfBirth is not null %}
|
||||
{{ person.countryOfBirth.name|localize_translatable_string }}
|
||||
{% else %}
|
||||
<span class="chill-no-data-statement">{{ 'Unknown country of birth'|trans }}</span>
|
||||
{% endif %}
|
||||
{% endspaceless %}</dd>
|
||||
{% endapply %}</dd>
|
||||
{%- endif -%}
|
||||
</dl>
|
||||
|
||||
|
Reference in New Issue
Block a user