From 27228c400f36fe47e7839faa593e94e05567b6cf Mon Sep 17 00:00:00 2001
From: Frederic Guillot <fred@kanboard.net>
Date: Thu, 21 Apr 2016 09:11:01 -0400
Subject: Change priority formatting

---
 app/Template/app/tasks.php | 8 ++++----
 1 file 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 ?>
-- 
cgit v1.2.3