X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;ds=sidebyside;f=WEB-INF%2Ftemplates%2Ftime_edit.tpl;h=f6f469398ed85e0ba1dfbcde5c92caad1e243e17;hb=722638fd8cc9400c5228106537effa1dcd0f7fa5;hp=4a97fc96024b11ae83755f3790c3e303b9daf6c9;hpb=a781da5661a1932521e0d1feb4be340b97edce9a;p=timetracker.git diff --git a/WEB-INF/templates/time_edit.tpl b/WEB-INF/templates/time_edit.tpl index 4a97fc96..f6f46939 100644 --- a/WEB-INF/templates/time_edit.tpl +++ b/WEB-INF/templates/time_edit.tpl @@ -1,200 +1,17 @@ - {$forms.timeRecordForm.open} @@ -205,21 +22,27 @@ function setNow(formField) {
{$i18n.label.client}{if in_array('cm', explode(',', $user->plugins))} (*){/if}: | +{$i18n.label.client}{if $user->isPluginEnabled('cm')} (*){/if}: | {$forms.timeRecordForm.client.control} | |
+ | + | ||
{$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} | |