summaryrefslogtreecommitdiff
path: root/app/Template/board
diff options
context:
space:
mode:
authorFrederic Guillot <fred@kanboard.net>2015-02-01 19:34:01 -0500
committerFrederic Guillot <fred@kanboard.net>2015-02-01 19:34:01 -0500
commit24300f828a684eedf71d63374effb2be95c13b1a (patch)
treebe83322f4c28d9da2d1dfe7046cfca22aec0702f /app/Template/board
parent7283692c1d565ec262546bdc816e8a5004df86ea (diff)
Add shortcut link to close a task from the dropdown menu
Diffstat (limited to 'app/Template/board')
-rw-r--r--app/Template/board/task.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/Template/board/task.php b/app/Template/board/task.php
index 546fbe1b..41c7ab45 100644
--- a/app/Template/board/task.php
+++ b/app/Template/board/task.php
@@ -46,6 +46,7 @@
<li><i class="fa fa-tag"></i> <?= $this->a(t('Change category'), 'board', 'changeCategory', array('task_id' => $task['id'], 'project_id' => $task['project_id']), false, 'category-popover') ?></li>
<li><i class="fa fa-align-left"></i> <?= $this->a(t('Change description'), 'task', 'description', array('task_id' => $task['id'], 'project_id' => $task['project_id']), false, 'task-description-popover') ?></li>
<li><i class="fa fa-pencil-square-o"></i> <?= $this->a(t('Edit this task'), 'task', 'edit', array('task_id' => $task['id'], 'project_id' => $task['project_id']), false, 'task-edit-popover') ?></li>
+ <li><i class="fa fa-close"></i> <?= $this->a(t('Close this task'), 'task', 'close', array('task_id' => $task['id'], 'project_id' => $task['project_id'], 'confirmation' => 'yes', 'redirect' => 'board'), true) ?></li>
</li>
</li>
</ul>