diff options
Diffstat (limited to 'app/Template/board/task_footer.php')
-rw-r--r-- | app/Template/board/task_footer.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/Template/board/task_footer.php b/app/Template/board/task_footer.php index 3583ee1a..d486b638 100644 --- a/app/Template/board/task_footer.php +++ b/app/Template/board/task_footer.php @@ -47,7 +47,7 @@ <?php endif ?> <?php if (! empty($task['nb_comments'])): ?> - <span title="<?= p($task['nb_comments'], t('%d comment', $task['nb_comments']), t('%d comments', $task['nb_comments'])) ?>" class="tooltip" data-href="<?= $this->url->href('board', 'comments', array('task_id' => $task['id'], 'project_id' => $task['project_id'])) ?>"><i class="fa fa-comment-o"></i> <?= $task['nb_comments'] ?></span> + <span title="<?= $task['nb_comments'] == 1 ? t('%d comment', $task['nb_comments']) : t('%d comments', $task['nb_comments']) ?>" class="tooltip" data-href="<?= $this->url->href('board', 'comments', array('task_id' => $task['id'], 'project_id' => $task['project_id'])) ?>"><i class="fa fa-comment-o"></i> <?= $task['nb_comments'] ?></span> <?php endif ?> <?php if (! empty($task['description'])): ?> |