Show task count in each column even if no limit is set (merge pull-request #169)

This commit is contained in:
Frédéric Guillot
2014-07-14 20:06:36 -02:30
parent b84f60babc
commit 04628e1c13
2 changed files with 9 additions and 0 deletions

View File

@@ -15,6 +15,10 @@
<?= Helper\escape($column['task_limit']) ?> <?= Helper\escape($column['task_limit']) ?>
) )
</span> </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 ?> <?php endif ?>
</th> </th>
<?php endforeach ?> <?php endforeach ?>

View File

@@ -564,6 +564,11 @@ a.filter-on {
line-height: 70%; line-height: 70%;
} }
.task-count {
color: #888;
font-weight: normal;
}
/* task inside the board */ /* task inside the board */
.task-board { .task-board {
position: relative; position: relative;