mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-22 07:33:50 +00:00
@@ -10,7 +10,7 @@
|
||||
{{ form_start(form) }}
|
||||
|
||||
{{ 'Last opening since %last_opening%'|trans(
|
||||
{ '%last_opening%' : history.dateOpening|date(date_format) }) }}
|
||||
{ '%last_opening%' : history.dateOpening|localizeddate('long', 'none', app.request.locale) }) }}
|
||||
|
||||
{% if form.dateClosing is defined %}
|
||||
{{ form_row(form.dateClosing, {'label' : 'Closing date'} ) }}
|
||||
|
@@ -18,13 +18,13 @@
|
||||
{% set i = 0 %}
|
||||
{% for history in histories %}
|
||||
<tr class="{% if i is not even %}striped{% endif %}">
|
||||
<td>{{ history.dateOpening|date(date_format) }}</td>
|
||||
<td>{{ history.dateOpening|localizeddate('long', 'none', app.request.locale) }}</td>
|
||||
<td>{% spaceless %}
|
||||
{% if history.isOpen %}
|
||||
{{ 'Still open'|trans }}
|
||||
|
||||
{% else %}
|
||||
{{ history.dateClosing|date(date_format) }}
|
||||
{{ history.dateClosing|localizeddate('long', 'none', app.request.locale) }}
|
||||
{% endif %}
|
||||
|
||||
{% endspaceless %}</td>
|
||||
|
Reference in New Issue
Block a user