fix sf4 deprecated: rename twig spaceless tags

This commit is contained in:
2020-07-22 16:28:21 +02:00
parent 4316667bd2
commit 05868b398e
5 changed files with 10 additions and 10 deletions

View File

@@ -104,13 +104,13 @@ This view should receive those arguments:
{%- endif -%}
{%- if chill_person.fields.country_of_birth == 'visible' -%}
<dt>{{ 'Country of birth'|trans }}&nbsp;:</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>