X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=WEB-INF%2Ftemplates%2Ftime.tpl;h=e0418eeb660a5dbb2002682d23a819a1172bb850;hb=c1dab04d6ff59c3c8ced5d95b84090dd3bef03e1;hp=7a360800b1b86ab61f3a7aea349e7d4e4628099d;hpb=da39950fb8192f48ad40f6777ff3c5cd52459bcd;p=timetracker.git diff --git a/WEB-INF/templates/time.tpl b/WEB-INF/templates/time.tpl index 7a360800..e0418eeb 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} @@ -130,7 +136,7 @@ {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} @@ -165,7 +171,7 @@ {/if} - + {$i18n.label.quota}: {$month_quota} {if $over_quota} {$i18n.form.time.over_quota}: {$quota_remaining} {else}