summaryrefslogtreecommitdiff
path: root/app/Template/board
diff options
context:
space:
mode:
authorFrederic Guillot <fred@kanboard.net>2017-10-12 14:01:39 -0700
committerFrederic Guillot <fred@kanboard.net>2017-10-12 14:01:39 -0700
commit4bb422b41fd995cb67c41ad4b7ba155a84c6f1eb (patch)
tree24368daa9fdd4881563aca74ab05322da2791fd5 /app/Template/board
parentad6f898134a3aadc38571f5c8e11d37f43a953e3 (diff)
Render a dropdown menu for external task providers
Diffstat (limited to 'app/Template/board')
-rw-r--r--app/Template/board/table_column.php4
1 files changed, 1 insertions, 3 deletions
diff --git a/app/Template/board/table_column.php b/app/Template/board/table_column.php
index 9d2815ff..a9652a2b 100644
--- a/app/Template/board/table_column.php
+++ b/app/Template/board/table_column.php
@@ -16,9 +16,7 @@
<!-- column in expanded mode -->
<div class="board-column-expanded">
<?php if (! $not_editable && $this->projectRole->canCreateTaskInColumn($column['project_id'], $column['id'])): ?>
- <div class="board-add-icon">
- <?= $this->modal->largeIcon('plus', t('Add a new task'), 'TaskCreationController', 'show', array('project_id' => $column['project_id'], 'column_id' => $column['id'], 'swimlane_id' => $swimlane['id'])) ?>
- </div>
+ <?= $this->task->getNewBoardTaskButton($swimlane, $column) ?>
<?php endif ?>
<?php if ($swimlane['nb_swimlanes'] > 1 && ! empty($column['column_nb_tasks'])): ?>