mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-21 15:13:50 +00:00
blur added to requestor in twig template
This commit is contained in:
@@ -63,12 +63,16 @@
|
||||
<div class="wl-row">
|
||||
<div class="wl-col title"><h3>{{ 'Requestor'|trans({'gender': null }) }}</h3></div>
|
||||
<div class="wl-col list">
|
||||
{% if accompanying_period.requestorPerson is not null %}
|
||||
<span class="wl-item badge-person">{{ accompanying_period.requestorPerson|chill_entity_render_string }}</span>
|
||||
{% endif %}
|
||||
{% if accompanying_period.requestorThirdParty is not null %}
|
||||
<span class="wl-item badge-thirdparty">{{ accompanying_period.requestorThirdParty|chill_entity_render_string }}</span>
|
||||
{% endif %}
|
||||
<div class="confidential">
|
||||
<div class="confidential-content blur">
|
||||
{% if accompanying_period.requestorPerson is not null %}
|
||||
<span class="wl-item badge-person">{{ accompanying_period.requestorPerson|chill_entity_render_string }}</span>
|
||||
{% endif %}
|
||||
{% if accompanying_period.requestorThirdParty is not null %}
|
||||
<span class="wl-item badge-thirdparty">{{ accompanying_period.requestorThirdParty|chill_entity_render_string }}</span>
|
||||
{% endif %}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
{% endif %}
|
||||
|
@@ -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 }} :</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 }} :</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 %}
|
Reference in New Issue
Block a user