From ea42b8049160e96712bf807a6e1ddfcc7d3be502 Mon Sep 17 00:00:00 2001 From: Kevin Papst Date: Sat, 6 Jan 2018 09:46:10 +0100 Subject: [PATCH] enabled repeat button in users timesheet --- src/TimesheetBundle/Resources/views/timesheet/index.html.twig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/TimesheetBundle/Resources/views/timesheet/index.html.twig b/src/TimesheetBundle/Resources/views/timesheet/index.html.twig index f601a0c0..95430516 100644 --- a/src/TimesheetBundle/Resources/views/timesheet/index.html.twig +++ b/src/TimesheetBundle/Resources/views/timesheet/index.html.twig @@ -39,7 +39,7 @@ {{ entry.description }} {% if entry.end %} - {{ widgets.button_group({'repeat': '#', 'edit': path('timesheet_edit', {'id' : entry.id, 'page': page}), 'trash': '#'}) }} + {{ widgets.button_group({'repeat': path('timesheet_start', {'id' : entry.activity.id}), 'edit': path('timesheet_edit', {'id' : entry.id, 'page': page}), 'trash': '#'}) }} {% else %} {{ widgets.button_group({'stop': path('timesheet_stop', {'id' : entry.id}), 'edit': path('timesheet_edit', {'id' : entry.id, 'page': page}), 'trash': '#'}) }} {% endif %}