diff options
Diffstat (limited to 'templates/project_search.php')
-rw-r--r-- | templates/project_search.php | 9 |
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&action=show&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']): ?> |