From: anuko Date: Tue, 19 Dec 2017 16:04:13 +0000 (+0000) Subject: Work in progress on week view. Fixed the links. X-Git-Tag: timetracker_1.19-1~1445 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=a9d9c0853ef2070cb01c4c7912bde4ef7fcd7ad6;p=timetracker.git Work in progress on week view. Fixed the links. --- 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));
 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}