summaryrefslogtreecommitdiff
path: root/app/Template
diff options
context:
space:
mode:
Diffstat (limited to 'app/Template')
-rw-r--r--app/Template/task_list/sort_menu.php3
-rw-r--r--app/Template/task_list/task_icons.php2
2 files changed, 5 insertions, 0 deletions
diff --git a/app/Template/task_list/sort_menu.php b/app/Template/task_list/sort_menu.php
index 4d0b1189..a42fb46e 100644
--- a/app/Template/task_list/sort_menu.php
+++ b/app/Template/task_list/sort_menu.php
@@ -17,6 +17,9 @@
<?= $paginator->order(t('Priority'), \Kanboard\Model\TaskModel::TABLE.'.priority') ?>
</li>
<li>
+ <?= $paginator->order(t('Position'), \Kanboard\Model\TaskModel::TABLE.'.position') ?>
+ </li>
+ <li>
<?= $paginator->order(t('Title'), \Kanboard\Model\TaskModel::TABLE.'.title') ?>
</li>
<li>
diff --git a/app/Template/task_list/task_icons.php b/app/Template/task_list/task_icons.php
index 528c99b3..6897c260 100644
--- a/app/Template/task_list/task_icons.php
+++ b/app/Template/task_list/task_icons.php
@@ -88,6 +88,8 @@
</span>
<?php endif ?>
+ <span title="<?= t('Position') ?>">(<?= $task['position'] ?>)</span>
+
<?php if ($task['is_active'] == 1): ?>
<div class="task-icon-age">
<span title="<?= t('Task age in days')?>" class="task-icon-age-total"><?= $this->dt->age($task['date_creation']) ?></span>