summaryrefslogtreecommitdiff
path: root/templates/project_search.php
diff options
context:
space:
mode:
Diffstat (limited to 'templates/project_search.php')
-rw-r--r--templates/project_search.php9
1 files changed, 9 insertions, 0 deletions
diff --git a/templates/project_search.php b/templates/project_search.php
index d7d7748e..ee1e5025 100644
--- a/templates/project_search.php
+++ b/templates/project_search.php
@@ -45,6 +45,15 @@
</td>
<td>
<a href="?controller=task&amp;action=show&amp;task_id=<?= $task['id'] ?>" title="<?= t('View this task') ?>"><?= Helper\escape($task['title']) ?></a>
+ <div class="task-table-icons">
+ <?php if (! empty($task['nb_comments'])): ?>
+ <?= $task['nb_comments'] ?> <i class="fa fa-comment-o" title="<?= p($task['nb_comments'], t('%d comment', $task['nb_comments']), t('%d comments', $task['nb_comments'])) ?>"></i>
+ <?php endif ?>
+
+ <?php if (! empty($task['description'])): ?>
+ <i class="fa fa-file-text-o" title="<?= t('Description') ?>"></i>
+ <?php endif ?>
+ </div>
</td>
<td>
<?php if ($task['username']): ?>