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): ?>
|
- = $this->render('task/dropdown', array('task' => $task)) ?>
+ user->hasProjectAccess('taskmodification', 'edit', $task['project_id'])): ?>
+ = $this->render('task/dropdown', array('task' => $task)) ?>
+
+ #= $task['id'] ?>
+
|
= $this->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'])): ?>
= t('Actions') ?>
+
= $this->hook->render('template:task:sidebar', array('task' => $task)) ?>
|