diff options
author | Frédéric Guillot <fred@kanboard.net> | 2014-07-14 20:06:36 -0230 |
---|---|---|
committer | Frédéric Guillot <fred@kanboard.net> | 2014-07-14 20:06:36 -0230 |
commit | 04628e1c133f0cb344a32baec53342264957f57d (patch) | |
tree | 1871b860eda58a2c676bf85ed0b0a7b588e72e05 /app | |
parent | b84f60babc0e3ebb904af04b8139bbd048895e44 (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.php | 4 |
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 ?> |