X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;ds=sidebyside;f=WEB-INF%2Ftemplates%2Ftime.tpl;h=e0418eeb660a5dbb2002682d23a819a1172bb850;hb=3cd816de20457c5224d72db358833b234571be70;hp=f82897d2a9f285a565951c28998fb7d201931dac;hpb=66d86939b62dc5ae3d5f16088b61822e611cf58f;p=timetracker.git
diff --git a/WEB-INF/templates/time.tpl b/WEB-INF/templates/time.tpl
index f82897d2..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.timesheet_id || $record.invoice_id}
+ {if $record.approved || $record.timesheet_id || $record.invoice_id}
{else}
{$i18n.label.edit}
|