X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=WEB-INF%2Ftemplates%2Ftime.tpl;h=049979cacb5b0114fef632adcbf4e2393401098f;hb=870ef02e00ccf3c54edd893bfa84cfb4d692ac0a;hp=f82897d2a9f285a565951c28998fb7d201931dac;hpb=66d86939b62dc5ae3d5f16088b61822e611cf58f;p=timetracker.git diff --git a/WEB-INF/templates/time.tpl b/WEB-INF/templates/time.tpl index f82897d2..049979ca 100644 --- a/WEB-INF/templates/time.tpl +++ b/WEB-INF/templates/time.tpl @@ -68,6 +68,12 @@ {$i18n.label.duration}: {$forms.timeRecordForm.duration.control} {if $user->getDecimalMark() == ','}{str_replace('.', ',', $i18n.form.time.duration_format)}{else}{$i18n.form.time.duration_format}{/if} +{/if} +{if $template_dropdown} + + {$i18n.label.template}: + {$forms.timeRecordForm.template.control} + {/if} @@ -98,6 +104,9 @@ {if $user->isPluginEnabled('cl')} {$i18n.label.client} {/if} + {if $show_cf_1} + {$custom_fields->fields[0]['label']|escape} + {/if} {if ($smarty.const.MODE_PROJECTS == $user->tracking_mode || $smarty.const.MODE_PROJECTS_AND_TASKS == $user->tracking_mode)} {$i18n.label.project} {/if} @@ -110,13 +119,20 @@ {/if} {$i18n.label.duration} {$i18n.label.note} - {$i18n.label.edit} + + + {if $show_files} + + {/if} {foreach $time_records as $record} {if $user->isPluginEnabled('cl')} {$record.client|escape} {/if} + {if $show_cf_1} + {$record.cf_1|escape} + {/if} {if ($smarty.const.MODE_PROJECTS == $user->tracking_mode || $smarty.const.MODE_PROJECTS_AND_TASKS == $user->tracking_mode)} {$record.project|escape} {/if} @@ -129,17 +145,31 @@ {/if} {if ($record.duration == '0:00' && $record.start <> '')}{$i18n.form.time.uncompleted}{else}{$record.duration}{/if} {if $record.comment}{$record.comment|escape}{else} {/if} + {if $show_files} + {if $record.has_files} + {$i18n.label.files} + {else} + {$i18n.label.files} + {/if} + {/if} - {if $record.timesheet_id || $record.invoice_id} + {if $record.approved || $record.timesheet_id || $record.invoice_id}   {else} - {$i18n.label.edit} + {$i18n.label.edit} {if ($record.duration == '0:00' && $record.start <> '')} {/if} + {/if} + + + {if $record.approved || $record.timesheet_id || $record.invoice_id} +   + {else} + {$i18n.label.delete} {/if}