Change priority formatting

This commit is contained in:
Frederic Guillot
2016-04-21 09:11:01 -04:00
parent 2f135170ac
commit 27228c400f

View File

@@ -25,9 +25,9 @@
<?= $this->url->link($this->text->e($task['title']), 'task', 'show', array('task_id' => $task['id'], 'project_id' => $task['project_id'])) ?> <?= $this->url->link($this->text->e($task['title']), 'task', 'show', array('task_id' => $task['id'], 'project_id' => $task['project_id'])) ?>
</td> </td>
<td> <td>
<?php if ($task['priority'] > 0): ?> <?php if ($task['priority'] >= 0): ?>
<?= $this->text->e($task['priority'])?> P<?= $this->text->e($task['priority'])?>
<?php endif?> <?php endif?>
</td> </td>
<td> <td>
<?php if (! empty($task['time_spent'])): ?> <?php if (! empty($task['time_spent'])): ?>
@@ -46,4 +46,4 @@
</table> </table>
<?= $paginator ?> <?= $paginator ?>
<?php endif ?> <?php endif ?>