fix restart timesheet button (#436)

This commit is contained in:
Kevin Papst
2018-11-22 21:48:05 +01:00
committed by GitHub
parent f74547008d
commit 025558e58e

View File

@@ -68,7 +68,7 @@
{% if entry.end %}
{% if is_granted('start', entry) %}
{% set actionButtons = {'repeat': path('timesheet_start', {'id' : entry.activity.id})}|merge(actionButtons) %}
{% set actionButtons = {'repeat': path('timesheet_start', {'id' : entry.id})}|merge(actionButtons) %}
{% endif %}
{% else %}
{% if is_granted('stop', entry) %}