diff options
author | Frederic Guillot <fred@kanboard.net> | 2017-02-08 20:42:26 -0500 |
---|---|---|
committer | Frederic Guillot <fred@kanboard.net> | 2017-02-08 20:42:26 -0500 |
commit | b03c1c5ff4f3da5ffa1bd520a4944159ac254f4d (patch) | |
tree | 1f4124ae3c8617eb9fcfb86ff75ee0c6b096d187 /app/Template/task_list/show.php | |
parent | 5c0b90bb298d53567c27be527c9caff16dd34f7f (diff) |
Add priority column in list view
Diffstat (limited to 'app/Template/task_list/show.php')
-rw-r--r-- | app/Template/task_list/show.php | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/app/Template/task_list/show.php b/app/Template/task_list/show.php index 0518e4c3..4a2ebeba 100644 --- a/app/Template/task_list/show.php +++ b/app/Template/task_list/show.php @@ -10,6 +10,7 @@ <th class="column-10"><?= $paginator->order(t('Swimlane'), 'tasks.swimlane_id') ?></th> <th class="column-10"><?= $paginator->order(t('Column'), 'tasks.column_id') ?></th> <th class="column-10"><?= $paginator->order(t('Category'), 'tasks.category_id') ?></th> + <th class="column-6"><?= $paginator->order(t('Priority'), \Kanboard\Model\TaskModel::TABLE.'.priority') ?></th> <th><?= $paginator->order(t('Title'), 'tasks.title') ?></th> <th class="column-10"><?= $paginator->order(t('Assignee'), 'users.username') ?></th> <th class="column-10"><?= $paginator->order(t('Due date'), 'tasks.date_due') ?></th> @@ -34,6 +35,9 @@ <?= $this->text->e($task['category_name']) ?> </td> <td> + P<?= $this->text->e($task['priority'])?> + </td> + <td> <?= $this->url->link($this->text->e($task['title']), 'TaskViewController', 'show', array('task_id' => $task['id'], 'project_id' => $task['project_id']), false, '', t('View this task')) ?> </td> <td> |