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) -%}
|
{%- macro details(acpw, options) -%}
|
||||||
<ul>
|
{% include '@ChillPerson/AccompanyingCourseWork/_item.html.twig' with {
|
||||||
<li><b>{{ 'person_admin.social_action'|trans }}</b>:
|
'displayAction': true,
|
||||||
{{ acpw.socialAction.title|localize_translatable_string }}</li>
|
'displayContent': 'short',
|
||||||
<li><b>{{ 'export.list.acpw.startDate'|trans }}</b>:
|
'displayFontSmall': true,
|
||||||
{% if acpw.startDate %}{{ acpw.startDate|format_date('short') }}{% endif %}</li>
|
'itemBlocClass': '',
|
||||||
{% if acpw.endDate %}
|
'displayNotification': true
|
||||||
<li><b>{{ 'export.list.acpw.endDate'|trans }}</b>:
|
} %}
|
||||||
{{ acpw.endDate|format_date('short') }}</li>
|
|
||||||
{% endif %}
|
|
||||||
</ul>
|
|
||||||
{% endmacro %}
|
{% endmacro %}
|
||||||
|
@ -19,6 +19,7 @@
|
|||||||
</h1>
|
</h1>
|
||||||
|
|
||||||
<h4>{{ 'Deleted datas'|trans ~ ':' }}</h4>
|
<h4>{{ 'Deleted datas'|trans ~ ':' }}</h4>
|
||||||
|
|
||||||
{{ details.details(acpw2, accompanyingCourse) }}
|
{{ details.details(acpw2, accompanyingCourse) }}
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user