mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-12 21:34:25 +00:00
[Accompanying period] fix period label in list
The template didn't take into account still opened periods.
This commit is contained in:
parent
deac76cb47
commit
523b60c69a
@ -106,3 +106,7 @@ Version 1.5.13
|
||||
- [CRUD] override relevant part of the main CRUD template
|
||||
- [CRUD] fix redirection on person view: add a `person_id` to every page redirected.
|
||||
|
||||
Master branch
|
||||
=============
|
||||
|
||||
- [Accompanying period list] Fix period label in list
|
||||
|
@ -21,7 +21,7 @@
|
||||
{% for accompanying_period in accompanying_periods %}
|
||||
<tr>
|
||||
<td>
|
||||
{% if accompanying_period.isOpen == false %}
|
||||
{% if accompanying_period.closingDate == null %}
|
||||
{{ 'accompanying_period.dates_from_%opening_date%'|trans({ '%opening_date%': accompanying_period.openingDate|localizeddate('long', 'none') } ) }}
|
||||
{% else %}
|
||||
{{ 'accompanying_period.dates_from_%opening_date%_to_%closing_date%'|trans({
|
||||
@ -96,4 +96,4 @@
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
{% endblock personcontent %}
|
||||
{% endblock personcontent %}
|
||||
|
Loading…
x
Reference in New Issue
Block a user