mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-21 07:03:49 +00:00
59 résumé, flex person position
This commit is contained in:
@@ -19,40 +19,53 @@
|
||||
{% endif %}
|
||||
|
||||
<h2>{{ 'Associated peoples'|trans }}</h2>
|
||||
|
||||
<div class="flex-bloc right">
|
||||
{% for p in accompanyingCourse.participations %}
|
||||
{% if p.enddate is null %}
|
||||
<h5>
|
||||
{{ p.person.firstname ~ ' ' ~ p.person.lastname }}
|
||||
</h5>
|
||||
{{ p.person.gender == 'woman' ? 'F' : 'M' }}<br>
|
||||
{{ 'né le ' ~ p.person.birthdate|format_date('short') }}<br>
|
||||
<div class="item-bloc">
|
||||
|
||||
<h5>{{ p.person.firstname ~ ' ' ~ p.person.lastname }}</h5>
|
||||
<dl class="content-bloc">
|
||||
|
||||
<dd>
|
||||
{{ p.person.gender == 'woman' ? 'F' : 'M' }}
|
||||
</dd>
|
||||
<dd>
|
||||
{{ 'né le ' ~ p.person.birthdate|format_date('short') }}
|
||||
</dd>
|
||||
<dd>
|
||||
{% if p.person.mobilenumber %}
|
||||
<dt class="fa fa-fw fa-mobile"></dt>{{ p.person.mobilenumber }}
|
||||
{% else %}
|
||||
<dt class="fa fa-fw fa-phone"></dt>
|
||||
{% if p.person.phonenumber %}
|
||||
{{ p.person.phonenumber }}
|
||||
{% else %}
|
||||
<span class="chill-no-data-statement">{{ 'No data given'|trans }}</span>
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
</dd>
|
||||
<dd>
|
||||
{%- if p.person.lastAddress is not empty -%}
|
||||
{{ address._render(p.person.lastAddress, {'has_no_address': true, 'with_valid_from': false, 'with_icon': true}) }}
|
||||
{%- else -%}
|
||||
<dt class="fa fa-fw fa-map-marker"></dt>
|
||||
<span class="chill-no-data-statement">{{ 'No address given'|trans }}</span>
|
||||
{%- endif -%}
|
||||
</dd>
|
||||
|
||||
{% if p.person.mobilenumber %}
|
||||
<i class="fa fa-fw fa-mobile"></i>{{ p.person.mobilenumber }}
|
||||
{% else %}
|
||||
<i class="fa fa-fw fa-phone"></i>
|
||||
{% if p.person.phonenumber %}
|
||||
{{ p.person.phonenumber }}
|
||||
{% else %}
|
||||
<span class="chill-no-data-statement">{{ 'No data given'|trans }}</span>
|
||||
{% endif %}
|
||||
{% endif %}<br>
|
||||
|
||||
{%- if p.person.lastAddress is not empty -%}
|
||||
{{ address._render(p.person.lastAddress, {'has_no_address': true, 'with_valid_from': false, 'with_icon': true}) }}
|
||||
{%- else -%}
|
||||
<i class="fa fa-fw fa-map-marker"></i>
|
||||
<span class="chill-no-data-statement">{{ 'No address given'|trans }}</span>
|
||||
{%- endif -%}
|
||||
|
||||
<ul class="record_actions">
|
||||
<li>
|
||||
<a href="{{ path('chill_person_view', { person_id: p.person.id }) }}" class="sc-button bt-show" target="_blank" title="Voir"></a>
|
||||
</li>
|
||||
</ul>
|
||||
</dl>
|
||||
<ul class="record_actions">
|
||||
<li>
|
||||
<a href="{{ path('chill_person_view', { person_id: p.person.id }) }}" class="sc-button bt-show" target="_blank" title="Voir"></a>
|
||||
</li>
|
||||
</ul>
|
||||
|
||||
</div>
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
</div>
|
||||
|
||||
|
||||
<h2>{{ 'Resources'|trans }}</h2>
|
||||
|
||||
|
Reference in New Issue
Block a user