blur added to requestor in twig template

This commit is contained in:
2021-10-08 23:44:06 +02:00
parent f09329daee
commit a754bc0abe
3 changed files with 14 additions and 23 deletions

View File

@@ -93,8 +93,6 @@ This view should receive those arguments:
{%- endif -%}
{%- if chill_person.fields.country_of_birth == 'visible' -%}
<div class="confidential">
<div class="confidential-content blur">
<dt>{{ 'Country of birth'|trans }}&nbsp;:</dt>
<dd>{% apply spaceless %}
{% if person.countryOfBirth is not null %}
@@ -103,8 +101,6 @@ This view should receive those arguments:
<span class="chill-no-data-statement">{{ 'Unknown country of birth'|trans }}</span>
{% endif %}
{% endapply %}</dd>
</div>
</div>
{%- endif -%}
</dl>
</figure>
@@ -202,14 +198,10 @@ This view should receive those arguments:
{%- endif -%}
{%- if chill_person.fields.phonenumber == 'visible' -%}
<div class="confidential">
<div class="confidential-content blur">
<dl>
<dt>{{ 'Phonenumber'|trans }}&nbsp;:</dt>
<dd>{% if person.phonenumber is not empty %}<a href="tel:{{ person.phonenumber }}"><pre>{{ person.phonenumber|chill_format_phonenumber }}</pre></a>{% else %}<span class="chill-no-data-statement">{{ 'No data given'|trans }}{% endif %}</dd>
</dl>
</div>
</div>
{% endif %}
{%- if chill_person.fields.mobilenumber == 'visible' -%}
@@ -269,10 +261,4 @@ This view should receive those arguments:
{% endif %}
</div>
{% endblock %}
{% block js %}
{{ encore_entry_script_tags('mod_blur') }}
{% endblock js %}
{% endblock %}