- {if $user->exists() && $user->isPluginEnabled('ts') && ($user->can('view_own_timesheets') || $user->can('manage_own_timesheets') ||
- $user->can('view_timesheets') || $user->can('manage_timesheets') || $user->can('approve_timesheets'))}
- · <a class="mainMenu" href="timesheets.php">{$i18n.menu.timesheets}</a>
+ {if $user->exists() && $user->isPluginEnabled('ts') && ($user->can('track_own_time') || $user->can('track_time'))}
+ <a class="mainMenu" href="timesheets.php">{$i18n.menu.timesheets}</a>