diff --git a/app/Template/listing/show.php b/app/Template/listing/show.php index c7887ebdb..98b9528aa 100644 --- a/app/Template/listing/show.php +++ b/app/Template/listing/show.php @@ -18,7 +18,11 @@ getCollection() as $task): ?> - render('task/dropdown', array('task' => $task)) ?> + user->hasProjectAccess('taskmodification', 'edit', $task['project_id'])): ?> + render('task/dropdown', array('task' => $task)) ?> + + # + text->e($task['swimlane_name'] ?: $task['default_swimlane']) ?> diff --git a/app/Template/task/sidebar.php b/app/Template/task/sidebar.php index ee3b15949..773b28dcc 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)) ?>