From a9d9c0853ef2070cb01c4c7912bde4ef7fcd7ad6 Mon Sep 17 00:00:00 2001 From: anuko Date: Tue, 19 Dec 2017 16:04:13 +0000 Subject: [PATCH] Work in progress on week view. Fixed the links. --- WEB-INF/templates/footer.tpl | 2 +- WEB-INF/templates/time.tpl | 2 +- time.php | 1 + 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/WEB-INF/templates/footer.tpl b/WEB-INF/templates/footer.tpl index dd0b2dde..be7b43fe 100644 --- a/WEB-INF/templates/footer.tpl +++ b/WEB-INF/templates/footer.tpl @@ -12,7 +12,7 @@
- {/if} diff --git a/time.php b/time.php index b808aaf9..fe3a8e3d 100644 --- a/time.php +++ b/time.php @@ -357,6 +357,7 @@ if ($request->isPost()) { $week_total = ttTimeHelper::getTimeForWeek($user->getActiveUser(), $selected_date); +$smarty->assign('selected_date', $selected_date); $smarty->assign('week_total', $week_total); $smarty->assign('day_total', ttTimeHelper::getTimeForDay($user->getActiveUser(), $cl_date)); $smarty->assign('time_records', ttTimeHelper::getRecords($user->getActiveUser(), $cl_date)); -- 2.20.1
 Anuko Time Tracker 1.12.3.3686 | Copyright © Anuko | +  Anuko Time Tracker 1.12.3.3687 | Copyright © Anuko | {$i18n.footer.credits} | {$i18n.footer.license} | {$i18n.footer.improve} diff --git a/WEB-INF/templates/time.tpl b/WEB-INF/templates/time.tpl index 8f3629fa..d5db36a0 100644 --- a/WEB-INF/templates/time.tpl +++ b/WEB-INF/templates/time.tpl @@ -11,7 +11,7 @@ {if defined(WEEK_VIEW_DEBUG)}
- {$i18n.label.day_view} / {$i18n.label.week_view} + {$i18n.label.day_view} / {$i18n.label.week_view}