Hide one task count when there is only one swimlane
Don't show two task counts per column when there is only one swimlane. Fixes #4208
This commit is contained in:
parent
9ac752a606
commit
91ae1feaa1
|
|
@ -19,7 +19,7 @@
|
|||
<?= $this->task->getNewBoardTaskButton($swimlane, $column) ?>
|
||||
<?php endif ?>
|
||||
|
||||
<?php if ($column['nb_tasks'] > 0): ?>
|
||||
<?php if ($swimlane['nb_swimlanes'] > 1 && $column['nb_tasks'] > 0): ?>
|
||||
<span title="<?= t('Task count') ?>">
|
||||
(<span id="task-number-column-<?= $column['id'] ?>"><?= $column['nb_tasks'] ?></span>)
|
||||
</span>
|
||||
|
|
|
|||
Loading…
Reference in New Issue