diff options
author | Frederic Guillot <fred@kanboard.net> | 2017-10-12 14:01:39 -0700 |
---|---|---|
committer | Frederic Guillot <fred@kanboard.net> | 2017-10-12 14:01:39 -0700 |
commit | 4bb422b41fd995cb67c41ad4b7ba155a84c6f1eb (patch) | |
tree | 24368daa9fdd4881563aca74ab05322da2791fd5 /app/Template/board | |
parent | ad6f898134a3aadc38571f5c8e11d37f43a953e3 (diff) |
Render a dropdown menu for external task providers
Diffstat (limited to 'app/Template/board')
-rw-r--r-- | app/Template/board/table_column.php | 4 |
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'])): ?> |