mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-07 18:44:08 +00:00
person: add closing motive to closed acc course
This commit is contained in:
parent
354c37ade2
commit
af898cbd12
@ -11,6 +11,7 @@ and this project adheres to
|
|||||||
## Unreleased
|
## Unreleased
|
||||||
|
|
||||||
<!-- write down unreleased development here -->
|
<!-- write down unreleased development here -->
|
||||||
|
* [person] add closing motive to closed acc course (https://gitlab.com/champs-libres/departement-de-la-vendee/chill/-/issues/603)
|
||||||
* [admin] refactorisation of the admin section: reorganisation of the menu, translations, form types, new entities (https://gitlab.com/champs-libres/departement-de-la-vendee/chill/-/issues/592)
|
* [admin] refactorisation of the admin section: reorganisation of the menu, translations, form types, new entities (https://gitlab.com/champs-libres/departement-de-la-vendee/chill/-/issues/592)
|
||||||
* [admin] add admin section for languages and countries (https://gitlab.com/champs-libres/departement-de-la-vendee/chill/-/issues/596)
|
* [admin] add admin section for languages and countries (https://gitlab.com/champs-libres/departement-de-la-vendee/chill/-/issues/596)
|
||||||
* [activity] activity admin: translations + remove label field for comment on admin activity type (https://gitlab.com/champs-libres/departement-de-la-vendee/chill/-/issues/587)
|
* [activity] activity admin: translations + remove label field for comment on admin activity type (https://gitlab.com/champs-libres/departement-de-la-vendee/chill/-/issues/587)
|
||||||
|
@ -30,6 +30,19 @@
|
|||||||
<div class="accompanyingcourse-resume">
|
<div class="accompanyingcourse-resume">
|
||||||
<div id="dashboards" class="row g-3" data-masonry='{"percentPosition": true }'>
|
<div id="dashboards" class="row g-3" data-masonry='{"percentPosition": true }'>
|
||||||
|
|
||||||
|
{% if 'CLOSED' == accompanyingCourse.step %}
|
||||||
|
<div class="mbloc col col-sm-6 col-lg-4">
|
||||||
|
<div class="warnings">
|
||||||
|
<div class="alert alert-danger">
|
||||||
|
<h2>{{ 'This course is closed'|trans }}</h2>
|
||||||
|
<p>
|
||||||
|
{{ 'Closing motive'|trans }} : {{ accompanyingCourse.closingMotive.name|localize_translatable_string }}
|
||||||
|
</p>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
{% if 'DRAFT' == accompanyingCourse.step %}
|
{% if 'DRAFT' == accompanyingCourse.step %}
|
||||||
<div class="mbloc col col-sm-6 col-lg-4">
|
<div class="mbloc col col-sm-6 col-lg-4">
|
||||||
<div class="warnings">
|
<div class="warnings">
|
||||||
|
@ -149,6 +149,19 @@
|
|||||||
{% endif %}
|
{% endif %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
|
{% if acp.step == 'CLOSED' and acp.closingMotive is not null %}
|
||||||
|
<div class="wl-row">
|
||||||
|
<div class="wl-col title">
|
||||||
|
<h3 class="closingMotive">{{ 'Closing motive'|trans }}</h3>
|
||||||
|
</div>
|
||||||
|
<div class="wl-col list">
|
||||||
|
<div>
|
||||||
|
{{ acp.closingMotive.name|localize_translatable_string }}
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
<ul class="record_actions record_actions_column">
|
<ul class="record_actions record_actions_column">
|
||||||
<li>
|
<li>
|
||||||
<a href="{{ path('chill_person_accompanying_course_index', { 'accompanying_period_id': acp.id }) }}"
|
<a href="{{ path('chill_person_accompanying_course_index', { 'accompanying_period_id': acp.id }) }}"
|
||||||
@ -256,7 +269,7 @@
|
|||||||
aria-labelledby="heading_{{ person.id }}"
|
aria-labelledby="heading_{{ person.id }}"
|
||||||
data-bs-parent="#nonCurrent">
|
data-bs-parent="#nonCurrent">
|
||||||
{% for acp in acpsClosed %}
|
{% for acp in acpsClosed %}
|
||||||
{{ _self.accompanying_period(acp, person) }}
|
{{ _self.accompanying_period(acp, person) }}
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
@ -171,6 +171,7 @@ Update accompanying period: Mettre à jour une période d'accompagnement
|
|||||||
'Period not opened': "La période d'accompagnement n'a pas été ouverte"
|
'Period not opened': "La période d'accompagnement n'a pas été ouverte"
|
||||||
"Period not opened : form is invalid": "La période n'a pas été ouverte: le formulaire est invalide."
|
"Period not opened : form is invalid": "La période n'a pas été ouverte: le formulaire est invalide."
|
||||||
'Closing motive': 'Motif de clôture'
|
'Closing motive': 'Motif de clôture'
|
||||||
|
This course is closed: Ce parcours est clôturé
|
||||||
Close accompanying course: Clôturer le parcours
|
Close accompanying course: Clôturer le parcours
|
||||||
Re-open accompanying course: Ré-ouvrir le parcours
|
Re-open accompanying course: Ré-ouvrir le parcours
|
||||||
'Person details': 'Détails de la personne'
|
'Person details': 'Détails de la personne'
|
||||||
|
Loading…
x
Reference in New Issue
Block a user