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 | |
parent | b84f60babc0e3ebb904af04b8139bbd048895e44 (diff) |
Show task count in each column even if no limit is set (merge pull-request #169)
-rw-r--r-- | app/Templates/board_show.php | 4 | ||||
-rw-r--r-- | assets/css/app.css | 5 |
2 files changed, 9 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 ?> diff --git a/assets/css/app.css b/assets/css/app.css index b35ce05e..e5db0885 100644 --- a/assets/css/app.css +++ b/assets/css/app.css @@ -564,6 +564,11 @@ a.filter-on { line-height: 70%; } +.task-count { + color: #888; + font-weight: normal; +} + /* task inside the board */ .task-board { position: relative; |