From 63de9ce903678e68402aee625f516e3ee2608fbb Mon Sep 17 00:00:00 2001 From: Nik Okuntseff Date: Tue, 30 Apr 2019 12:23:22 +0000 Subject: [PATCH] Fixed nav links visibility between day and week views. --- WEB-INF/templates/footer.tpl | 2 +- time.php | 2 +- week.php | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/WEB-INF/templates/footer.tpl b/WEB-INF/templates/footer.tpl index 6a036454..81e0e5cc 100644 --- a/WEB-INF/templates/footer.tpl +++ b/WEB-INF/templates/footer.tpl @@ -12,7 +12,7 @@
-
 Anuko Time Tracker 1.19.4.5000 | Copyright © Anuko | +  Anuko Time Tracker 1.19.4.5001 | Copyright © Anuko | {$i18n.footer.credits} | {$i18n.footer.license} | {$i18n.footer.improve} diff --git a/time.php b/time.php index ca48056a..2dc8606d 100644 --- a/time.php +++ b/time.php @@ -448,7 +448,7 @@ $smarty->assign('selected_date', $selected_date); $smarty->assign('week_total', $week_total); $smarty->assign('day_total', ttTimeHelper::getTimeForDay($cl_date)); $smarty->assign('time_records', $timeRecords); -$smarty->assign('show_navigation', $user->isPluginEnabled('wv') && !$user->getConfigOption('menu_week')); +$smarty->assign('show_navigation', $user->isPluginEnabled('wv') && !$user->isOptionEnabled('week_menu')); $smarty->assign('show_client', $showClient); $smarty->assign('show_cf_1', $user->isPluginEnabled('cf')); $smarty->assign('show_project', $showProject); diff --git a/week.php b/week.php index a77e987f..1c8efe75 100644 --- a/week.php +++ b/week.php @@ -517,7 +517,7 @@ $smarty->assign('forms', array($form->getName()=>$form->toArray())); $smarty->assign('onload', 'onLoad="fillDropdowns()"'); $smarty->assign('timestring', $startDate->toString($user->date_format).' - '.$endDate->toString($user->date_format)); $smarty->assign('time_records', $records); -$smarty->assign('show_navigation', !$user->getConfigOption('menu_week')); +$smarty->assign('show_navigation', !$user->isOptionEnabled('week_menu')); $smarty->assign('show_client', $showClient); $smarty->assign('show_project', $showProject); $smarty->assign('show_task', $showTask); -- 2.20.1