summaryrefslogtreecommitdiff
path: root/app/Template
diff options
context:
space:
mode:
Diffstat (limited to 'app/Template')
-rw-r--r--app/Template/board/task_footer.php2
-rw-r--r--app/Template/project_edit/show.php1
-rw-r--r--app/Template/task_list/task_icons.php2
3 files changed, 2 insertions, 3 deletions
diff --git a/app/Template/board/task_footer.php b/app/Template/board/task_footer.php
index 79b7c3e9..1ad1c9f1 100644
--- a/app/Template/board/task_footer.php
+++ b/app/Template/board/task_footer.php
@@ -125,7 +125,7 @@
<span class="task-board-closed"><i class="fa fa-ban fa-fw"></i><?= t('Closed') ?></span>
<?php endif ?>
- <?= $this->task->formatPriority($project, $task) ?>
+ <?= $this->task->renderPriority($task['priority']) ?>
<?= $this->hook->render('template:board:task:icons', array('task' => $task)) ?>
</div>
diff --git a/app/Template/project_edit/show.php b/app/Template/project_edit/show.php
index 074f1d37..62bd9af6 100644
--- a/app/Template/project_edit/show.php
+++ b/app/Template/project_edit/show.php
@@ -61,7 +61,6 @@
<?= $this->form->label(t('Highest priority'), 'priority_end') ?>
<?= $this->form->number('priority_end', $values, $errors, array('tabindex="10"')) ?>
- <p class="form-help"><?= t('If you put zero to the low and high priority, this feature will be disabled.') ?></p>
</fieldset>
<?= $this->modal->submitButtons(array('tabindex' => 11)) ?>
diff --git a/app/Template/task_list/task_icons.php b/app/Template/task_list/task_icons.php
index da08a43f..8694d147 100644
--- a/app/Template/task_list/task_icons.php
+++ b/app/Template/task_list/task_icons.php
@@ -90,5 +90,5 @@
<span class="task-board-closed"><i class="fa fa-ban fa-fw"></i><?= t('Closed') ?></span>
<?php endif ?>
- <?= $this->task->formatPriority($project, $task) ?>
+ <?= $this->task->renderPriority($task['priority']) ?>
</div>