X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=WEB-INF%2Ftemplates%2Ftime_edit.tpl;h=1d346bba633d926590348666e2357ee3edede9a1;hb=e59d57b1fcf105382028dcfc0157a6ca84b0dc46;hp=c6431d90fafad86d561e227cf9912e6b658aa55e;hpb=3d5bc3e13797cb7121ed8548b723a0ef85eda80c;p=timetracker.git diff --git a/WEB-INF/templates/time_edit.tpl b/WEB-INF/templates/time_edit.tpl index c6431d90..1d346bba 100644 --- a/WEB-INF/templates/time_edit.tpl +++ b/WEB-INF/templates/time_edit.tpl @@ -1,201 +1,4 @@ - +{include file="time_script.tpl"} {$forms.timeRecordForm.open} @@ -217,9 +20,15 @@ function setNow(formField) { {/if} +{if ($user->canManageTeam() && $user->isPluginEnabled('ps'))} + + + + +{/if} {if ($custom_fields && $custom_fields->fields[0])} - + {/if} {if ($smarty.const.MODE_PROJECTS == $user->tracking_mode || $smarty.const.MODE_PROJECTS_AND_TASKS == $user->tracking_mode)} @@ -230,7 +39,7 @@ function setNow(formField) { {/if} {if ($smarty.const.MODE_PROJECTS_AND_TASKS == $user->tracking_mode)} - + {/if} @@ -247,7 +56,7 @@ function setNow(formField) { {if (($smarty.const.TYPE_DURATION == $user->record_type) || ($smarty.const.TYPE_ALL == $user->record_type))} - + {/if}
 
{$custom_fields->fields[0]['label']|escape:'html'}{if $custom_fields->fields[0]['required']} (*){/if}:{$forms.timeRecordForm.cf_1.control}{$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.duration}:{$forms.timeRecordForm.duration.control} {$i18n.form.time.duration_format}{$forms.timeRecordForm.duration.control} {if $user->decimal_mark == ','}{str_replace('.', ',', $i18n.form.time.duration_format)}{else}{$i18n.form.time.duration_format}{/if}