summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorFrédéric Guillot <fred@kanboard.net>2014-07-14 20:06:36 -0230
committerFrédéric Guillot <fred@kanboard.net>2014-07-14 20:06:36 -0230
commit04628e1c133f0cb344a32baec53342264957f57d (patch)
tree1871b860eda58a2c676bf85ed0b0a7b588e72e05 /app
parentb84f60babc0e3ebb904af04b8139bbd048895e44 (diff)
Show task count in each column even if no limit is set (merge pull-request #169)
Diffstat (limited to 'app')
-rw-r--r--app/Templates/board_show.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/app/Templates/board_show.php b/app/Templates/board_show.php
index d5f31413..2d857497 100644
--- a/app/Templates/board_show.php
+++ b/app/Templates/board_show.php
@@ -15,6 +15,10 @@
<?= Helper\escape($column['task_limit']) ?>
)
</span>
+ <?php else: ?>
+ <span title="<?= t('Task count') ?>" class="task-count">
+ (<span id="task-number-column-<?= $column['id'] ?>"><?= count($column['tasks']) ?></span>)
+ </span>
<?php endif ?>
</th>
<?php endforeach ?>