X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=WEB-INF%2Ftemplates%2Ftime.tpl;h=bf28c509135b23af57e73badb34d83f77fbd39df;hb=6079edfe4444d2d0bc2f220f8823d6fcc57f2dd5;hp=0e05f05bc8b86ba69f97bfecde6196c80c84089a;hpb=948617a6a0f129ba4090934ee8f544009dbcd935;p=timetracker.git
diff --git a/WEB-INF/templates/time.tpl b/WEB-INF/templates/time.tpl
index 0e05f05b..bf28c509 100644
--- a/WEB-INF/templates/time.tpl
+++ b/WEB-INF/templates/time.tpl
@@ -18,16 +18,10 @@
-{if $on_behalf_group_control}
-
- {$i18n.label.group}: |
- {$forms.timeRecordForm.onBehalfGroup.control} |
-
-{/if}
-{if $on_behalf_control}
+{if $user_dropdown}
{$i18n.label.user}: |
- {$forms.timeRecordForm.onBehalfUser.control} |
+ {$forms.timeRecordForm.user.control} |
{/if}
{if $user->isPluginEnabled('cl')}
@@ -72,7 +66,7 @@
{if (($smarty.const.TYPE_DURATION == $user->record_type) || ($smarty.const.TYPE_ALL == $user->record_type))}
{$i18n.label.duration}: |
- {$forms.timeRecordForm.duration.control} {if $user->decimal_mark == ','}{str_replace('.', ',', $i18n.form.time.duration_format)}{else}{$i18n.form.time.duration_format}{/if} |
+ {$forms.timeRecordForm.duration.control} {if $user->getDecimalMark() == ','}{str_replace('.', ',', $i18n.form.time.duration_format)}{else}{$i18n.form.time.duration_format}{/if} |
{/if}
@@ -155,7 +149,7 @@
|
-{if $time_records}
+
{$i18n.label.week_total}: {$week_total} |
@@ -164,6 +158,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}
@@ -172,5 +174,5 @@
{/if}
-{/if}
+
{$forms.timeRecordForm.close}