accourse resume page: add all informations needed for social-actions

cfr. vendee PROPOSITION_INFO_AFFICHEES.xlsx (column F)
This commit is contained in:
Mathieu Jaumotte 2021-11-26 18:56:56 +01:00
parent 40ca1e276b
commit 93dbc32009
3 changed files with 44 additions and 1 deletions

View File

@ -22,6 +22,45 @@
<b>{{ w.endDate|format_date('short') }}</b>
</li>
{% endif %}
{% if w.handlingThierParty %}
<li>
<span class="item-key">{{ 'Thirdparty handling'|trans ~ ' : ' }}</span>
<span class="badge-thirdparty">{{ w.handlingThierParty|chill_entity_render_box }}</span>
</li>
{% endif %}
<li class="associated-persons">
<span class="item-key">{{ 'Participants'|trans ~ ' : ' }}</span>
{% for p in w.persons %}
<span class="badge-person">{{ p|chill_entity_render_box }}</span>
{% endfor %}
</li>
</ul>
<ul class="list-content">
<li class="social-issues">
{{ w.socialAction.issue|chill_entity_render_box }}
</li>
</ul>
<ul class="small_in_title">
{% for e in w.accompanyingPeriodWorkEvaluations %}
<li>
<span class="item-key">{{ 'accompanying_course_work.social_evaluation'|trans ~ ' : ' }}</span>
{{ e.evaluation.title|localize_translatable_string }}
<ul class="small_in_title__">
{% if e.startDate %}
<li>
<span class="item-key">{{ 'accompanying_course_work.start_date'|trans ~ ' : ' }}</span>
<b>{{ e.startDate|format_date('short') }}</b>
</li>
{% endif %}
{% if e.endDate %}
<li>
<span class="item-key">{{ 'accompanying_course_work.end_date'|trans ~ ' : ' }}</span>
<b>{{ e.endDate|format_date('short') }}</b>
</li>
{% endif %}
</ul>
</li>
{% endfor %}
</ul>
<div class="metadata text-end" style="font-size: 60%">
@ -33,7 +72,7 @@
</span>
</h2>
</a>
</a>{# {{ dump(w) }} #}
{% endfor %}
</div>

View File

@ -435,6 +435,7 @@ accompanying_course_work:
goal: Objectif - motif - dispositif
Any work: Aucune action d'accompagnement
remove: Supprimer une action d'accompagnement
social_evaluation: Évaluation
#
Person addresses: Adresses de résidence

View File

@ -85,3 +85,6 @@ crud:
3party_3party:
index:
add_new: Créer
Thirdparty handling: Tiers traitant
Thirdparty workers: Tiers intervenants