mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-28 10:33:49 +00:00
fix error in return path and fix date interval conversion
This commit is contained in:
@@ -44,13 +44,13 @@
|
||||
<dt class="inline">{{ 'End date'|trans }}</dt>
|
||||
<dd>{{ task.endDate|localizeddate('long', 'none') }}</dd>
|
||||
|
||||
<dt class="inline">{{ 'Warning interval'|trans }}</dt>
|
||||
<dd>{{ task.warningInterval|localizeddate('long', 'none') }}</dd>
|
||||
<dt class="inline">{{ 'Warning date'|trans }}</dt>
|
||||
<dd>{{ task.warningDate|localizeddate('long', 'none') }}</dd>
|
||||
</dl>
|
||||
|
||||
<ul class="record_actions">
|
||||
<li class="cancel">
|
||||
<a class="sc-button bt-cancel" href="{{ path('chill_task_task_list', { 'personId': person.id } ) }}">
|
||||
<a class="sc-button bt-cancel" href="{{ path('chill_task_task_list_by_person', { 'personId': person.id } ) }}">
|
||||
{{ 'Back to the list'|trans }}
|
||||
</a>
|
||||
</li>
|
||||
|
@@ -57,12 +57,12 @@
|
||||
<li>
|
||||
<a href="{{ path('chill_task_single_task_show', { 'id': task.id }) }}" class="sc-button bt-show "></a>
|
||||
</li>
|
||||
{% if not is_granted('CHILL_TASK_TASK_UPDATE', task) %}
|
||||
{% if is_granted('CHILL_TASK_TASK_UPDATE', task) %}
|
||||
<li>
|
||||
<a href="{{ path('chill_task_single_task_edit', { 'id': task.id }) }}" class="sc-button bt-update "></a>
|
||||
</li>
|
||||
{% endif %}
|
||||
{% if not is_granted('CHILL_TASK_TASK_CREATE', task) %}
|
||||
{% if is_granted('CHILL_TASK_TASK_CREATE', task) %}
|
||||
<li>
|
||||
<a href="{{ path('chill_task_single_task_delete', { 'id': task.id } ) }}" class="sc-button bt-delete "></a>
|
||||
</li>
|
||||
|
Reference in New Issue
Block a user