Show number of tasks for each column across all swimlanes

This commit is contained in:
Frederic Guillot
2015-09-26 20:41:14 -04:00
parent 625a84d174
commit 6c03925f23
7 changed files with 19 additions and 12 deletions

View File

@@ -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,