summaryrefslogtreecommitdiff
path: root/app/Templates/board_show.php
diff options
context:
space:
mode:
authorFrédéric Guillot <fred@kanboard.net>2014-05-22 20:58:21 -0400
committerFrédéric Guillot <fred@kanboard.net>2014-05-22 20:58:21 -0400
commit40917992e775bd21a280eb267241c452e04e5ade (patch)
treec1bf82ab83564bc9ca749f026f54342cbd35374f /app/Templates/board_show.php
parent2230dd4e6b148346c0ec596b9e3e12996a762ed8 (diff)
Add files upload
Diffstat (limited to 'app/Templates/board_show.php')
-rw-r--r--app/Templates/board_show.php6
1 files changed, 5 insertions, 1 deletions
diff --git a/app/Templates/board_show.php b/app/Templates/board_show.php
index 719e3bdd..78f9dd50 100644
--- a/app/Templates/board_show.php
+++ b/app/Templates/board_show.php
@@ -59,7 +59,7 @@
</div>
<?php endif ?>
- <?php if (! empty($task['date_due']) || ! empty($task['nb_comments']) || ! empty($task['description'])): ?>
+ <?php if (! empty($task['date_due']) || ! empty($task['nb_files']) || ! empty($task['nb_comments']) || ! empty($task['description'])): ?>
<div class="task-footer">
<?php if (! empty($task['date_due'])): ?>
@@ -69,6 +69,10 @@
<?php endif ?>
<div class="task-icons">
+ <?php if (! empty($task['nb_files'])): ?>
+ <?= $task['nb_files'] ?> <i class="fa fa-paperclip"></i>
+ <?php endif ?>
+
<?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 ?>