diff options
author | Frederic Guillot <fred@kanboard.net> | 2016-05-04 21:51:38 -0400 |
---|---|---|
committer | Frederic Guillot <fred@kanboard.net> | 2016-05-04 21:51:38 -0400 |
commit | 6bdc25490f02649242b1d96025f8da1f4c41884b (patch) | |
tree | ab30b54786c0c08f85facb6d0703f7837b4bc471 /app/Template/task/sidebar.php | |
parent | 60c8867feeeefcf160fb1432419887f17a0d957b (diff) |
Unify task drop-down menu between different views
Diffstat (limited to 'app/Template/task/sidebar.php')
-rw-r--r-- | app/Template/task/sidebar.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/Template/task/sidebar.php b/app/Template/task/sidebar.php index a2d73b8c..46f9e1a2 100644 --- a/app/Template/task/sidebar.php +++ b/app/Template/task/sidebar.php @@ -87,7 +87,7 @@ <?= $this->url->link(t('Open this task'), 'taskstatus', 'open', array('task_id' => $task['id'], 'project_id' => $task['project_id']), false, 'popover') ?> <?php endif ?> </li> - <?php if ($this->task->canRemove($task)): ?> + <?php if ($this->user->canRemoveTask($task)): ?> <li> <i class="fa fa-trash-o fa-fw"></i> <?= $this->url->link(t('Remove'), 'task', 'remove', array('task_id' => $task['id'], 'project_id' => $task['project_id']), false, 'popover') ?> |