summaryrefslogtreecommitdiff
path: root/app/Template/board
diff options
context:
space:
mode:
authorFlorian Wernert <flo.wernert@gmail.com>2017-07-11 10:33:40 +0200
committerfguillot <fred@kanboard.net>2017-10-12 11:15:32 -0700
commitad6f898134a3aadc38571f5c8e11d37f43a953e3 (patch)
treeb74b9ea31ae8c141f1d8e574d1519f02f0074d55 /app/Template/board
parent69162009674a21623ce8ed56f2d8e8ff61b143be (diff)
Feature request #2072 : Quick edit in the list view
Added the quick link to the edit modal on the tasks in the board view, both expanded and collapsed
Diffstat (limited to 'app/Template/board')
-rw-r--r--app/Template/board/task_private.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/app/Template/board/task_private.php b/app/Template/board/task_private.php
index 28e53473..ccf09932 100644
--- a/app/Template/board/task_private.php
+++ b/app/Template/board/task_private.php
@@ -19,6 +19,7 @@
<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->modal->large('edit', '', 'TaskModificationController', 'edit', array('task_id' => $task['id'], 'project_id' => $task['project_id'])) ?>
<?php else: ?>
<strong><?= '#'.$task['id'] ?></strong>
<?php endif ?>
@@ -36,6 +37,7 @@
<div class="task-board-header">
<?php if ($this->user->hasProjectAccess('TaskModificationController', 'edit', $task['project_id'])): ?>
<?= $this->render('task/dropdown', array('task' => $task)) ?>
+ <?= $this->modal->large('edit', '', 'TaskModificationController', 'edit', array('task_id' => $task['id'], 'project_id' => $task['project_id'])) ?>
<?php else: ?>
<strong><?= '#'.$task['id'] ?></strong>
<?php endif ?>