From 2d66f70a49da144c4bc9c856ebb3b9805cf922ad Mon Sep 17 00:00:00 2001 From: Frederic Guillot Date: Sat, 26 Mar 2016 18:05:18 -0400 Subject: Show only necessary menus for viewers --- app/Template/task/sidebar.php | 3 +++ 1 file changed, 3 insertions(+) (limited to 'app/Template/task/sidebar.php') diff --git a/app/Template/task/sidebar.php b/app/Template/task/sidebar.php index ee3b1594..773b28dc 100644 --- a/app/Template/task/sidebar.php +++ b/app/Template/task/sidebar.php @@ -24,6 +24,8 @@ + + user->hasProjectAccess('taskmodification', 'edit', $task['project_id'])): ?>

+ hook->render('template:task:sidebar', array('task' => $task)) ?> -- cgit v1.2.3