X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;ds=sidebyside;f=WEB-INF%2Ftemplates%2Ftime.tpl;h=e531d2b6e2184cfb34faa869182580e92106f613;hb=c3e6cb49a67ee660c2eaeef53e15c85c19d805dd;hp=bf28c509135b23af57e73badb34d83f77fbd39df;hpb=1c962161585180f8a9f963d05a2a87b78a5a37a5;p=timetracker.git
diff --git a/WEB-INF/templates/time.tpl b/WEB-INF/templates/time.tpl
index bf28c509..e531d2b6 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,11 @@
{/if}
-
+ |
+ |
+ {if $show_files}
+ |
+ {/if}
{foreach $time_records as $record}
@@ -129,17 +139,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}](images/icon_files.png) |
+ {else}
+ ![{$i18n.label.files}](images/icon_file.png) |
+ {/if}
+ {/if}
- {if $record.invoice_id}
+ {if $record.approved || $record.timesheet_id || $record.invoice_id}
{else}
- {$i18n.label.edit}
+
{if ($record.duration == '0:00' && $record.start <> '')}
{/if}
+ {/if}
+ |
+
+ {if $record.approved || $record.timesheet_id || $record.invoice_id}
+
+ {else}
+
{/if}
|