mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-09-08 15:54:59 +00:00
person: add closing motive to closed acc course
This commit is contained in:
@@ -30,6 +30,19 @@
|
||||
<div class="accompanyingcourse-resume">
|
||||
<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 %}
|
||||
<div class="mbloc col col-sm-6 col-lg-4">
|
||||
<div class="warnings">
|
||||
|
Reference in New Issue
Block a user