mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-13 13:54:23 +00:00
fix indentation
This commit is contained in:
parent
315fc7f63a
commit
7fddf1d5e0
@ -6,15 +6,15 @@
|
|||||||
<h1>{{ block('title') }}</h1>
|
<h1>{{ block('title') }}</h1>
|
||||||
|
|
||||||
{% for p in positions %}
|
{% for p in positions %}
|
||||||
<h3>{{ p.label|localize_translatable_string }}</h3>
|
<h3>{{ p.label|localize_translatable_string }}</h3>
|
||||||
|
|
||||||
{% if false == p.shareHousehold %}
|
{% if false == p.shareHousehold %}
|
||||||
<p>{{ 'household.Those members does not share address'|trans }}</p>
|
<p>{{ 'household.Those members does not share address'|trans }}</p>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
{%- set members = household.currentMembersByPosition(p) %}
|
{%- set members = household.currentMembersByPosition(p) %}
|
||||||
{% if members|length > 0 %}
|
{% if members|length > 0 %}
|
||||||
<div class="flex-table list-household-members">
|
<div class="flex-table list-household-members">
|
||||||
{% for m in members %}
|
{% for m in members %}
|
||||||
<div class="item-bloc">
|
<div class="item-bloc">
|
||||||
<div class="item-row person">
|
<div class="item-row person">
|
||||||
@ -62,19 +62,19 @@
|
|||||||
{% endif %}
|
{% endif %}
|
||||||
</div>
|
</div>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
</div>
|
</div>
|
||||||
{% else %}
|
{% else %}
|
||||||
<p class="chill-no-data-statement">{{ 'household.Any persons into this position'|trans }}</p>
|
<p class="chill-no-data-statement">{{ 'household.Any persons into this position'|trans }}</p>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
{% set members = household.nonCurrentMembersByPosition(p) %}
|
{% set members = household.nonCurrentMembersByPosition(p) %}
|
||||||
{% if members|length > 0 %}
|
{% if members|length > 0 %}
|
||||||
<p><!-- force a space after table --></p>
|
<p><!-- force a space after table --></p>
|
||||||
<button class="sc-button bt-green" type="button" data-toggle="collapse" data-target="#nonCurrent_{{ p.id }}" aria-expanded="false" aria-controls="collapse non current members">
|
<button class="sc-button bt-green" type="button" data-toggle="collapse" data-target="#nonCurrent_{{ p.id }}" aria-expanded="false" aria-controls="collapse non current members">
|
||||||
{{ 'household.Show future or past memberships'|trans({'length': members|length}) }}
|
{{ 'household.Show future or past memberships'|trans({'length': members|length}) }}
|
||||||
</button>
|
</button>
|
||||||
|
|
||||||
<div id="nonCurrent_{{ p.id }}" class="collapse">
|
<div id="nonCurrent_{{ p.id }}" class="collapse">
|
||||||
<div class="flex-table list-household-members">
|
<div class="flex-table list-household-members">
|
||||||
{% for m in members %}
|
{% for m in members %}
|
||||||
<div class="item-bloc">
|
<div class="item-bloc">
|
||||||
@ -119,14 +119,14 @@
|
|||||||
</div>
|
</div>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
|
||||||
<ul class="record_actions sticky-form-buttons">
|
<ul class="record_actions sticky-form-buttons">
|
||||||
<li>
|
<li>
|
||||||
<a class="sc-button bt-create">
|
<a class="sc-button bt-create">
|
||||||
|
Loading…
x
Reference in New Issue
Block a user