summaryrefslogtreecommitdiff
path: root/app/Template/board/table_container.php
diff options
context:
space:
mode:
authorFrederic Guillot <fred@kanboard.net>2015-09-26 20:41:14 -0400
committerFrederic Guillot <fred@kanboard.net>2015-09-26 20:41:14 -0400
commit6c03925f23a91722471f33d3561543f4180f2b42 (patch)
treeb4cb8461fd83dcb4f52db765a37dffbb783a8887 /app/Template/board/table_container.php
parent625a84d174cd94c7e772ed8cb4c95a0b7aeff140 (diff)
Show number of tasks for each column across all swimlanes
Diffstat (limited to 'app/Template/board/table_container.php')
-rw-r--r--app/Template/board/table_container.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/app/Template/board/table_container.php b/app/Template/board/table_container.php
index b20426a6..fb9212a7 100644
--- a/app/Template/board/table_container.php
+++ b/app/Template/board/table_container.php
@@ -13,7 +13,6 @@
>
<?php endif ?>
- <?php $nb_swimlanes = count($swimlanes) ?>
<?php foreach ($swimlanes as $index => $swimlane): ?>
<?php if (empty($swimlane['columns'])): ?>
<p class="alert alert-error"><?= t('There is no column in your project!') ?></p>
@@ -26,7 +25,7 @@
)) ?>
<?php endif ?>
- <?php if ($nb_swimlanes > 1): ?>
+ <?php if ($swimlane['nb_swimlanes'] > 1): ?>
<?= $this->render('board/table_swimlane', array(
'project' => $project,
'swimlane' => $swimlane,