mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-21 15:13:50 +00:00
resume page: add persons and others infos
This commit is contained in:
@@ -52,13 +52,43 @@
|
||||
{% if accompanyingCourse.locationStatus != 'none' %}
|
||||
{{ accompanyingCourse.location|chill_entity_render_box }}
|
||||
{% endif %}
|
||||
|
||||
<!--
|
||||
<div class="mt-5">
|
||||
<h4>Origine de la demande</h4>
|
||||
<p>bim bam boum</p>
|
||||
</div>
|
||||
<div class="mt-3">
|
||||
<h4>Services</h4>
|
||||
<ul>
|
||||
<li>one</li>
|
||||
<li>two</li>
|
||||
</ul>
|
||||
</div>
|
||||
-->
|
||||
|
||||
</div>
|
||||
|
||||
{% if accompanyingCourse.resources is not empty
|
||||
and (accompanyingCourse.requestorThirdParty is not null
|
||||
{% if accompanyingCourse.participations is not empty
|
||||
or accompanyingCourse.resources is not empty
|
||||
or (accompanyingCourse.requestorThirdParty is not null
|
||||
or accompanyingCourse.requestorPerson is not null)
|
||||
%}
|
||||
<div class="col-md-6 resources mb-5">
|
||||
<div class="col-md-6 persons mb-5">
|
||||
<div class="mb-3">
|
||||
{% if accompanyingCourse.participations is not empty %}
|
||||
<h4 class="item-key">{{ 'Persons associated'|trans }}</h4>
|
||||
{% for r in accompanyingCourse.participations %}
|
||||
{% if r.person is not null %}
|
||||
{{ _self.insert_onthefly('person', r.person) }}
|
||||
{% elseif r.thirdParty is not null %}
|
||||
{{ _self.insert_onthefly('thirdparty', r.thirdParty) }}
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
{% else %}
|
||||
<span class="chill-no-data-statement visually-hidden">{{ 'No participations'|trans }}</span>
|
||||
{% endif %}
|
||||
</div>
|
||||
<div class="mb-3">
|
||||
{% if accompanyingCourse.requestorPerson is not null %}
|
||||
<h4 class="item-key">{{ 'Requestor'|trans }}</h4>
|
||||
|
Reference in New Issue
Block a user