X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;ds=sidebyside;f=WEB-INF%2Ftemplates%2Ftime_edit.tpl;h=66778e17d40d405f0646cf3ca492b0637fe3f59e;hb=cdd2e058776a3d0dc9b6f32a2d5d33e4f9388491;hp=9a13d4c5c8889d369f41fbb169908b5baf78c403;hpb=6deafabef6031f12fe9fec94d9262ba460f7875b;p=timetracker.git diff --git a/WEB-INF/templates/time_edit.tpl b/WEB-INF/templates/time_edit.tpl index 9a13d4c5..66778e17 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,6 +34,12 @@ {/if} +{if ($user->can('manage_invoices') && $user->isPluginEnabled('ps'))} + + + + +{/if} {if ($custom_fields && $custom_fields->fields[0])} @@ -33,7 +53,7 @@ {/if} {if ($smarty.const.MODE_PROJECTS_AND_TASKS == $user->tracking_mode)} - + {/if} @@ -57,6 +77,12 @@ +{if $template_dropdown} + + + + +{/if}
 
{$custom_fields->fields[0]['label']|escape}{if $custom_fields->fields[0]['required']} (*){/if}:{$forms.timeRecordForm.cf_1.control}
{$i18n.label.task}:{$i18n.label.task}{if $user->task_required} (*){/if}: {$forms.timeRecordForm.task.control}
{$i18n.label.date}: {$forms.timeRecordForm.date.control}
{$i18n.label.template}:{$forms.timeRecordForm.template.control}
{$i18n.label.note}: {$forms.timeRecordForm.note.control}