From 5045c6d8de7854d30843f133641ffdd1337a2114 Mon Sep 17 00:00:00 2001 From: Frédéric Guillot Date: Thu, 23 Nov 2017 11:07:31 -0800 Subject: Minor tweaks on PR #3562 --- app/Formatter/BoardSwimlaneFormatter.php | 4 ++-- app/Template/board/table_column.php | 14 +++++++------- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/app/Formatter/BoardSwimlaneFormatter.php b/app/Formatter/BoardSwimlaneFormatter.php index 17710fc3..c2f5a3b5 100644 --- a/app/Formatter/BoardSwimlaneFormatter.php +++ b/app/Formatter/BoardSwimlaneFormatter.php @@ -97,8 +97,8 @@ class BoardSwimlaneFormatter extends BaseFormatter implements FormatterInterface $this->calculateStatsByColumnAcrossSwimlanes($swimlane['columns']); } - foreach($this->swimlanes as &$swimlane) { - foreach($swimlane['columns'] as $columnIndex => &$column) { + foreach ($this->swimlanes as &$swimlane) { + foreach ($swimlane['columns'] as $columnIndex => &$column) { $column['column_nb_tasks'] = $this->swimlanes[0]['columns'][$columnIndex]['column_nb_tasks']; $column['column_nb_score'] = $this->swimlanes[0]['columns'][$columnIndex]['column_score']; } diff --git a/app/Template/board/table_column.php b/app/Template/board/table_column.php index f63438c3..1bba397d 100644 --- a/app/Template/board/table_column.php +++ b/app/Template/board/table_column.php @@ -19,10 +19,11 @@ task->getNewBoardTaskButton($swimlane, $column) ?> - + 0): ?> () + @@ -76,14 +77,13 @@ - ( - - - /text->e($column['task_limit']) ?> + 0): ?> + ( / text->e($column['task_limit']) ?>) + + () - ) - + hook->render('template:board:column:header', array('swimlane' => $swimlane, 'column' => $column)) ?> -- cgit v1.2.3