optimizations (#2904)
* calc once, then re-use * prevent invalid theme switch * allow to turn off weekly-quick-entries by permissions * remove 00:00 from date-times that likely do not need a time * fix datepicker out of window
This commit is contained in:
@@ -61,7 +61,7 @@
|
||||
<tr>
|
||||
<th>{{ 'label.orderDate'|trans }}</th>
|
||||
<td colspan="3">
|
||||
{{ project.orderDate|date_full }}
|
||||
{{ project.orderDate|date_full(true) }}
|
||||
</td>
|
||||
</tr>
|
||||
{% endif %}
|
||||
@@ -69,7 +69,7 @@
|
||||
<tr>
|
||||
<th>{{ 'label.project_start'|trans }}</th>
|
||||
<td colspan="3">
|
||||
{{ project.start|date_full }}
|
||||
{{ project.start|date_full(true) }}
|
||||
</td>
|
||||
</tr>
|
||||
{% endif %}
|
||||
@@ -77,7 +77,7 @@
|
||||
<tr>
|
||||
<th>{{ 'label.project_end'|trans }}</th>
|
||||
<td colspan="3">
|
||||
{{ project.end|date_full }}
|
||||
{{ project.end|date_full(true) }}
|
||||
</td>
|
||||
</tr>
|
||||
{% endif %}
|
||||
|
||||
Reference in New Issue
Block a user