X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=WEB-INF%2Ftemplates%2Ftime.tpl;h=1f1c7adc18764ddf408dd178d8cfa855c2ec5b84;hb=f30b876933acf131cbdfbf89ae7717faffa85f2d;hp=76338706d2676f32cea469386e1c291f15848e80;hpb=a079c840acbc147af950bff07ba7b7dac0de6131;p=timetracker.git
diff --git a/WEB-INF/templates/time.tpl b/WEB-INF/templates/time.tpl
index 76338706..1f1c7adc 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,27 @@
{/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}
+ ![{$i18n.label.files}](images/icon_files.png) |
+ {/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}
|
@@ -149,7 +169,7 @@
-{if $time_records}
+
{$i18n.label.week_total}: {$week_total} |
@@ -158,6 +178,14 @@
{if $user->isPluginEnabled('mq')}
{$i18n.label.month_total}: {$month_total} |
+ {if $over_balance}
+ {$i18n.form.time.over_balance}: {$balance_remaining} |
+ {else}
+ {$i18n.form.time.remaining_balance}: {$balance_remaining} |
+ {/if}
+
+
+ {$i18n.label.quota}: {$month_quota} |
{if $over_quota}
{$i18n.form.time.over_quota}: {$quota_remaining} |
{else}
@@ -166,5 +194,5 @@
{/if}
-{/if}
+
{$forms.timeRecordForm.close}