mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-07 18:44:08 +00:00
blur added to requestor in twig template
This commit is contained in:
parent
f09329daee
commit
a754bc0abe
@ -16,10 +16,10 @@
|
|||||||
<style>
|
<style>
|
||||||
.confidential{
|
.confidential{
|
||||||
display: flex;
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
}
|
}
|
||||||
.toggle{
|
.toggle{
|
||||||
margin-left: auto;
|
margin-left: 10px;
|
||||||
margin-right: 100px;
|
|
||||||
}
|
}
|
||||||
.blur {
|
.blur {
|
||||||
-webkit-filter: blur(5px);
|
-webkit-filter: blur(5px);
|
||||||
@ -103,6 +103,7 @@
|
|||||||
{{ encore_entry_script_tags('mod_bootstrap') }}
|
{{ encore_entry_script_tags('mod_bootstrap') }}
|
||||||
{{ encore_entry_script_tags('mod_forkawesome') }}
|
{{ encore_entry_script_tags('mod_forkawesome') }}
|
||||||
{{ encore_entry_script_tags('mod_ckeditor5') }}
|
{{ encore_entry_script_tags('mod_ckeditor5') }}
|
||||||
|
{{ encore_entry_script_tags('mod_blur') }}
|
||||||
{{ encore_entry_script_tags('chill') }}
|
{{ encore_entry_script_tags('chill') }}
|
||||||
|
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
|
@ -63,6 +63,8 @@
|
|||||||
<div class="wl-row">
|
<div class="wl-row">
|
||||||
<div class="wl-col title"><h3>{{ 'Requestor'|trans({'gender': null }) }}</h3></div>
|
<div class="wl-col title"><h3>{{ 'Requestor'|trans({'gender': null }) }}</h3></div>
|
||||||
<div class="wl-col list">
|
<div class="wl-col list">
|
||||||
|
<div class="confidential">
|
||||||
|
<div class="confidential-content blur">
|
||||||
{% if accompanying_period.requestorPerson is not null %}
|
{% if accompanying_period.requestorPerson is not null %}
|
||||||
<span class="wl-item badge-person">{{ accompanying_period.requestorPerson|chill_entity_render_string }}</span>
|
<span class="wl-item badge-person">{{ accompanying_period.requestorPerson|chill_entity_render_string }}</span>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
@ -71,6 +73,8 @@
|
|||||||
{% endif %}
|
{% endif %}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
{% if accompanying_period.participations.count > 0 %}
|
{% if accompanying_period.participations.count > 0 %}
|
||||||
|
@ -93,8 +93,6 @@ This view should receive those arguments:
|
|||||||
{%- endif -%}
|
{%- endif -%}
|
||||||
|
|
||||||
{%- if chill_person.fields.country_of_birth == 'visible' -%}
|
{%- if chill_person.fields.country_of_birth == 'visible' -%}
|
||||||
<div class="confidential">
|
|
||||||
<div class="confidential-content blur">
|
|
||||||
<dt>{{ 'Country of birth'|trans }} :</dt>
|
<dt>{{ 'Country of birth'|trans }} :</dt>
|
||||||
<dd>{% apply spaceless %}
|
<dd>{% apply spaceless %}
|
||||||
{% if person.countryOfBirth is not null %}
|
{% 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>
|
<span class="chill-no-data-statement">{{ 'Unknown country of birth'|trans }}</span>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% endapply %}</dd>
|
{% endapply %}</dd>
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
{%- endif -%}
|
{%- endif -%}
|
||||||
</dl>
|
</dl>
|
||||||
</figure>
|
</figure>
|
||||||
@ -202,14 +198,10 @@ This view should receive those arguments:
|
|||||||
{%- endif -%}
|
{%- endif -%}
|
||||||
|
|
||||||
{%- if chill_person.fields.phonenumber == 'visible' -%}
|
{%- if chill_person.fields.phonenumber == 'visible' -%}
|
||||||
<div class="confidential">
|
|
||||||
<div class="confidential-content blur">
|
|
||||||
<dl>
|
<dl>
|
||||||
<dt>{{ 'Phonenumber'|trans }} :</dt>
|
<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>
|
<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>
|
</dl>
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
{%- if chill_person.fields.mobilenumber == 'visible' -%}
|
{%- if chill_person.fields.mobilenumber == 'visible' -%}
|
||||||
@ -270,9 +262,3 @@ This view should receive those arguments:
|
|||||||
|
|
||||||
</div>
|
</div>
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
||||||
{% block js %}
|
|
||||||
|
|
||||||
{{ encore_entry_script_tags('mod_blur') }}
|
|
||||||
|
|
||||||
{% endblock js %}
|
|
Loading…
x
Reference in New Issue
Block a user