mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-07 18:44:08 +00:00
Use item renderbox for display of accompanyingperiodwork
This commit is contained in:
parent
00eb435896
commit
85781c8e14
@ -1,12 +1,9 @@
|
||||
{%- macro details(acpw, options) -%}
|
||||
<ul>
|
||||
<li><b>{{ 'person_admin.social_action'|trans }}</b>:
|
||||
{{ acpw.socialAction.title|localize_translatable_string }}</li>
|
||||
<li><b>{{ 'export.list.acpw.startDate'|trans }}</b>:
|
||||
{% if acpw.startDate %}{{ acpw.startDate|format_date('short') }}{% endif %}</li>
|
||||
{% if acpw.endDate %}
|
||||
<li><b>{{ 'export.list.acpw.endDate'|trans }}</b>:
|
||||
{{ acpw.endDate|format_date('short') }}</li>
|
||||
{% endif %}
|
||||
</ul>
|
||||
{% include '@ChillPerson/AccompanyingCourseWork/_item.html.twig' with {
|
||||
'displayAction': true,
|
||||
'displayContent': 'short',
|
||||
'displayFontSmall': true,
|
||||
'itemBlocClass': '',
|
||||
'displayNotification': true
|
||||
} %}
|
||||
{% endmacro %}
|
||||
|
@ -19,6 +19,7 @@
|
||||
</h1>
|
||||
|
||||
<h4>{{ 'Deleted datas'|trans ~ ':' }}</h4>
|
||||
|
||||
{{ details.details(acpw2, accompanyingCourse) }}
|
||||
|
||||
</div>
|
||||
|
Loading…
x
Reference in New Issue
Block a user