diff options
author | Frédéric Guillot <fred@kanboard.net> | 2018-06-07 15:02:10 -0700 |
---|---|---|
committer | Frédéric Guillot <fred@kanboard.net> | 2018-06-07 15:02:10 -0700 |
commit | 9d4be201aaaeaac23f4b18fb6c91caca857a2f0f (patch) | |
tree | 0b669aa0d7d382679100a69c0f9a59287b906568 /app/Template/board/task_private.php | |
parent | dfea2f23653644b574322a5199c120a32e1f29f3 (diff) |
Add quick link assign me in different views
Diffstat (limited to 'app/Template/board/task_private.php')
-rw-r--r-- | app/Template/board/task_private.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/Template/board/task_private.php b/app/Template/board/task_private.php index ece5efbe..396184dd 100644 --- a/app/Template/board/task_private.php +++ b/app/Template/board/task_private.php @@ -18,7 +18,7 @@ <div class="task-board-collapsed"> <div class="task-board-saving-icon" style="display: none;"><i class="fa fa-spinner fa-pulse"></i></div> <?php if ($this->user->hasProjectAccess('TaskModificationController', 'edit', $task['project_id'])): ?> - <?= $this->render('task/dropdown', array('task' => $task)) ?> + <?= $this->render('task/dropdown', array('task' => $task, 'redirect' => 'board')) ?> <?= $this->modal->large('edit', '', 'TaskModificationController', 'edit', array('task_id' => $task['id'], 'project_id' => $task['project_id'])) ?> <?php else: ?> <strong><?= '#'.$task['id'] ?></strong> @@ -36,7 +36,7 @@ <div class="task-board-saving-icon" style="display: none;"><i class="fa fa-spinner fa-pulse fa-2x"></i></div> <div class="task-board-header"> <?php if ($this->user->hasProjectAccess('TaskModificationController', 'edit', $task['project_id'])): ?> - <?= $this->render('task/dropdown', array('task' => $task)) ?> + <?= $this->render('task/dropdown', array('task' => $task, 'redirect' => 'board')) ?> <?= $this->modal->large('edit', '', 'TaskModificationController', 'edit', array('task_id' => $task['id'], 'project_id' => $task['project_id'])) ?> <?php else: ?> <strong><?= '#'.$task['id'] ?></strong> |