X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=WEB-INF%2Ftemplates%2Ftime.tpl;h=bf28c509135b23af57e73badb34d83f77fbd39df;hb=c71ac60a3c6913ad64b22f367b994983ff77ca22;hp=8f3629fa45df52f5492737b11cad129c5f11158b;hpb=6e543aee2b2758d24d4ab4886f8a623c24104327;p=timetracker.git diff --git a/WEB-INF/templates/time.tpl b/WEB-INF/templates/time.tpl index 8f3629fa..bf28c509 100644 --- a/WEB-INF/templates/time.tpl +++ b/WEB-INF/templates/time.tpl @@ -8,20 +8,20 @@ {$forms.timeRecordForm.open} -{if defined(WEEK_VIEW_DEBUG)} +{if $user->isPluginEnabled('wv')} {/if}
- {$i18n.label.day_view} / {$i18n.label.week_view} + {$i18n.label.day_view} / {$i18n.label.week_view}
-{if $on_behalf_control} +{if $user_dropdown} - + {/if} {if $user->isPluginEnabled('cl')} @@ -49,7 +49,7 @@ {/if} {if ($smarty.const.MODE_PROJECTS_AND_TASKS == $user->tracking_mode)} - + {/if} @@ -66,7 +66,7 @@ {if (($smarty.const.TYPE_DURATION == $user->record_type) || ($smarty.const.TYPE_ALL == $user->record_type))} - + {/if}
{$i18n.label.user}:{$forms.timeRecordForm.onBehalfUser.control}{$forms.timeRecordForm.user.control}
{$i18n.label.task}:{$i18n.label.task}{if $user->task_required} (*){/if}: {$forms.timeRecordForm.task.control}
{$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}
@@ -149,7 +149,7 @@
-{if $time_records} + @@ -158,6 +158,14 @@ {if $user->isPluginEnabled('mq')} + {if $over_balance} + + {else} + + {/if} + + + {if $over_quota} {else} @@ -166,5 +174,5 @@ {/if}
{$i18n.label.week_total}: {$week_total}
{$i18n.label.month_total}: {$month_total}{$i18n.form.time.over_balance}: {$balance_remaining}{$i18n.form.time.remaining_balance}: {$balance_remaining}
{$i18n.label.quota}: {$month_quota}{$i18n.form.time.over_quota}: {$quota_remaining}
-{/if} + {$forms.timeRecordForm.close}