diff options
author | Frédéric Guillot <fguillot@users.noreply.github.com> | 2014-05-03 09:52:55 -0400 |
---|---|---|
committer | Frédéric Guillot <fguillot@users.noreply.github.com> | 2014-05-03 09:52:55 -0400 |
commit | b10d4f51ebfb61e397a6a8783f3027b703deda8d (patch) | |
tree | d7d492ae18c8713fb8b396bdfb80ca06f8e92725 /templates/board_public.php | |
parent | 5d061594486c0d5761ac80a7548fdb4fdad0619b (diff) |
Add icons for comments and description
Diffstat (limited to 'templates/board_public.php')
-rw-r--r-- | templates/board_public.php | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/templates/board_public.php b/templates/board_public.php index c3d69f35..208be487 100644 --- a/templates/board_public.php +++ b/templates/board_public.php @@ -47,11 +47,15 @@ </div> <?php endif ?> - <?php if (! empty($task['nb_comments'])): ?> - <div class="task-comment-counter"> - <?= $task['nb_comments'] ?> + <div class="task-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> - <?php endif ?> </div> </div> |