From 31f452155587fed077f8233b00882b865e08fecb Mon Sep 17 00:00:00 2001 From: anuko Date: Sun, 31 Dec 2017 14:48:57 +0000 Subject: [PATCH] Added week total and monthly quotas plugin output to week view. --- WEB-INF/templates/footer.tpl | 2 +- WEB-INF/templates/week.tpl | 16 ++++++++++++++++ 2 files changed, 17 insertions(+), 1 deletion(-) diff --git a/WEB-INF/templates/footer.tpl b/WEB-INF/templates/footer.tpl index c7cbc49f..1d0b382e 100644 --- a/WEB-INF/templates/footer.tpl +++ b/WEB-INF/templates/footer.tpl @@ -12,7 +12,7 @@
-
 Anuko Time Tracker 1.13.2.3711| Copyright © Anuko | +  Anuko Time Tracker 1.13.3.3712| Copyright © Anuko | {$i18n.footer.credits} | {$i18n.footer.license} | {$i18n.footer.improve} diff --git a/WEB-INF/templates/week.tpl b/WEB-INF/templates/week.tpl index 97a5a302..34edf920 100644 --- a/WEB-INF/templates/week.tpl +++ b/WEB-INF/templates/week.tpl @@ -69,6 +69,22 @@ {$forms.weekTimeForm.week_durations.control}
+ + + + + + {if $user->isPluginEnabled('mq')} + + + {if $over_quota} + + {else} + + {/if} + + {/if} +
{$i18n.label.week_total}: {$week_total}
{$i18n.label.month_total}: {$month_total}{$i18n.form.time.over_quota}: {$quota_remaining}{$i18n.form.time.remaining_quota}: {$quota_remaining}
-- 2.20.1
{$forms.weekTimeForm.btn_submit.control}