X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=WEB-INF%2Ftemplates%2Ftime.tpl;h=c03297a56fd3f5e57e822c26c631c99baa28673c;hb=e25cf11c520c4e86bfd7d4f0944a146f0a21cf91;hp=bf28c509135b23af57e73badb34d83f77fbd39df;hpb=1c962161585180f8a9f963d05a2a87b78a5a37a5;p=timetracker.git diff --git a/WEB-INF/templates/time.tpl b/WEB-INF/templates/time.tpl index bf28c509..c03297a5 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} @@ -110,7 +116,7 @@ {/if} {$i18n.label.duration} {$i18n.label.note} - {$i18n.label.edit} + {foreach $time_records as $record} @@ -130,10 +136,10 @@ {if ($record.duration == '0:00' && $record.start <> '')}{$i18n.form.time.uncompleted}{else}{$record.duration}{/if} {if $record.comment}{$record.comment|escape}{else} {/if} - {if $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 <> '')}