[closing motivve] display closing motive in remark

This commit is contained in:
Julien Fastré 2020-03-13 16:39:12 +01:00
parent 048c83286b
commit ac5fc59c21
2 changed files with 9 additions and 1 deletions

View File

@ -79,3 +79,8 @@ Version 1.5.9
- [UI] set action button bottom of edit form according to crud template
- [closing motive] add an hierarchy for closing motives ;
- [closing motive] Add an admin section for closing motives ;
Version 1.5.10
==============
- [closing motive] display closing motive in remark

View File

@ -28,7 +28,6 @@
'%opening_date%': accompanying_period.openingDate|localizeddate('long', 'none'),
'%closing_date%': accompanying_period.closingDate|localizeddate('long', 'none')}
) }}
<div>{{ accompanying_period.closingMotive|chill_entity_render_box }}</div>
{% endif %}
</td>
{% if chill_accompanying_periods.fields.user == 'visible' %}
@ -41,6 +40,10 @@
</td>
{% endif %}
<td>
{% if accompanying_period.isOpen == false %}
<div>{{ accompanying_period.closingMotive|chill_entity_render_box }}</div>
<br/>
{% endif %}
{{ accompanying_period.remark|chill_print_or_message('No remark', 'blockquote') }}
</td>
<td>