X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;ds=inline;f=WEB-INF%2Ftemplates%2Ftime_edit.tpl;h=a5017ce74dcfc558937114af0436a0df6a85d4d7;hb=f18a557af5593668fe61b8e86db4bcf50970e0bd;hp=f693215708fad973141081378ee19324edb2469c;hpb=0321413f489a83610e8b3c20a55dcc404dcd73a6;p=timetracker.git
diff --git a/WEB-INF/templates/time_edit.tpl b/WEB-INF/templates/time_edit.tpl
index f6932157..a5017ce7 100644
--- a/WEB-INF/templates/time_edit.tpl
+++ b/WEB-INF/templates/time_edit.tpl
@@ -20,6 +20,12 @@
|
{/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} |
@@ -33,7 +39,7 @@
{/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}
@@ -50,7 +56,7 @@
{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}