summaryrefslogtreecommitdiff
path: root/app/Template/task
diff options
context:
space:
mode:
authorFrederic Guillot <fred@kanboard.net>2015-02-15 19:35:28 -0500
committerFrederic Guillot <fred@kanboard.net>2015-02-15 19:35:28 -0500
commit321b1914ef1ee4d7e1a39d60fddd1151cb195f9c (patch)
treefede454cbf957df30cb0639c460a301e49bdfd34 /app/Template/task
parent186f8ba840e5e6e00a96881a04bb7efdf3d8c7d4 (diff)
Display confirmation box to close task from the board and improve popover listeners
Diffstat (limited to 'app/Template/task')
-rw-r--r--app/Template/task/close.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/Template/task/close.php b/app/Template/task/close.php
index 316d58eb..a0a95787 100644
--- a/app/Template/task/close.php
+++ b/app/Template/task/close.php
@@ -8,8 +8,8 @@
</p>
<div class="form-actions">
- <?= $this->a(t('Yes'), 'task', 'close', array('task_id' => $task['id'], 'project_id' => $task['project_id'], 'confirmation' => 'yes'), true, 'btn btn-red') ?>
+ <?= $this->a(t('Yes'), 'task', 'close', array('task_id' => $task['id'], 'project_id' => $task['project_id'], 'confirmation' => 'yes', 'redirect' => $redirect), true, 'btn btn-red') ?>
<?= t('or') ?>
- <?= $this->a(t('cancel'), 'task', 'show', array('task_id' => $task['id'], 'project_id' => $task['project_id'])) ?>
+ <?= $this->a(t('cancel'), 'task', 'show', array('task_id' => $task['id'], 'project_id' => $task['project_id']), false, 'close-popover') ?>
</div>
</div> \ No newline at end of file