X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=WEB-INF%2Ftemplates%2Ftime_edit.tpl;h=bc563e9eafbb739050817f084897d218b4f4a3eb;hb=fe8af9a04f7170a0623915f31610c6c4c3df4058;hp=1d346bba633d926590348666e2357ee3edede9a1;hpb=294895b702e4c5cb5bfc87292c464bed201f296b;p=timetracker.git diff --git a/WEB-INF/templates/time_edit.tpl b/WEB-INF/templates/time_edit.tpl index 1d346bba..bc563e9e 100644 --- a/WEB-INF/templates/time_edit.tpl +++ b/WEB-INF/templates/time_edit.tpl @@ -1,5 +1,19 @@ {include file="time_script.tpl"} +{* Conditional include of confirmSave handler. *} +{if $confirm_save} + +{/if} + {$forms.timeRecordForm.open} @@ -20,7 +34,7 @@ {/if} -{if ($user->canManageTeam() && $user->isPluginEnabled('ps'))} +{if ($user->can('manage_invoices') && $user->isPluginEnabled('ps'))}