X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=WEB-INF%2Ftemplates%2Ftime_edit.tpl;h=f6f469398ed85e0ba1dfbcde5c92caad1e243e17;hb=722638fd8cc9400c5228106537effa1dcd0f7fa5;hp=863cdb16cb143f94dee4651372ff08e7a349bcd9;hpb=ede1eab3f219537349c91cf7fcdaf8bdb242d41a;p=timetracker.git diff --git a/WEB-INF/templates/time_edit.tpl b/WEB-INF/templates/time_edit.tpl index 863cdb16..f6f46939 100644 --- a/WEB-INF/templates/time_edit.tpl +++ b/WEB-INF/templates/time_edit.tpl @@ -1,201 +1,17 @@ - {$forms.timeRecordForm.open} @@ -218,6 +34,12 @@ function setNow(formField) { {/if} +{if ($user->can('manage_invoices') && $user->isPluginEnabled('ps'))} + +   + + +{/if} {if ($custom_fields && $custom_fields->fields[0])} {$custom_fields->fields[0]['label']|escape}{if $custom_fields->fields[0]['required']} (*){/if}:{$forms.timeRecordForm.cf_1.control} @@ -231,7 +53,7 @@ function setNow(formField) { {/if} {if ($smarty.const.MODE_PROJECTS_AND_TASKS == $user->tracking_mode)} - {$i18n.label.task}: + {$i18n.label.task}{if $user->task_required} (*){/if}: {$forms.timeRecordForm.task.control} {/if} @@ -248,7 +70,7 @@ function setNow(formField) { {if (($smarty.const.TYPE_DURATION == $user->record_type) || ($smarty.const.TYPE_ALL == $user->record_type))} {$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} {/if}