diff options
Diffstat (limited to 'templates/project_tasks.php')
-rw-r--r-- | templates/project_tasks.php | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/templates/project_tasks.php b/templates/project_tasks.php index 1ffd52ac..2c152497 100644 --- a/templates/project_tasks.php +++ b/templates/project_tasks.php @@ -31,6 +31,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']): ?> |