summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFrederic Guillot <fred@kanboard.net>2016-04-21 09:11:01 -0400
committerFrederic Guillot <fred@kanboard.net>2016-04-21 09:11:01 -0400
commit27228c400f36fe47e7839faa593e94e05567b6cf (patch)
treec27698363a76710b999208b5b2111504855597a3
parent2f135170ac9fe33352c68eec826ca11833a5f45c (diff)
Change priority formatting
-rw-r--r--app/Template/app/tasks.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/app/Template/app/tasks.php b/app/Template/app/tasks.php
index e773bac6..f0ed61e0 100644
--- a/app/Template/app/tasks.php
+++ b/app/Template/app/tasks.php
@@ -25,9 +25,9 @@
<?= $this->url->link($this->text->e($task['title']), 'task', 'show', array('task_id' => $task['id'], 'project_id' => $task['project_id'])) ?>
</td>
<td>
- <?php if ($task['priority'] > 0): ?>
- <?= $this->text->e($task['priority'])?>
- <?php endif?>
+ <?php if ($task['priority'] >= 0): ?>
+ P<?= $this->text->e($task['priority'])?>
+ <?php endif?>
</td>
<td>
<?php if (! empty($task['time_spent'])): ?>
@@ -46,4 +46,4 @@
</table>
<?= $paginator ?>
-<?php endif ?> \ No newline at end of file
+<?php endif ?>