Changed board column headings to show swimlane-column total in bold. Also, board column total to be shown at end of column heading with limit across the sum of all swimlanes.

This commit is contained in:
Andrew Berzley
2017-11-20 14:45:33 -05:00
committed by fguillot
parent f889b555bd
commit 6c7c73613a
3 changed files with 23 additions and 16 deletions

View File

@@ -97,6 +97,13 @@ class BoardSwimlaneFormatter extends BaseFormatter implements FormatterInterface
$this->calculateStatsByColumnAcrossSwimlanes($swimlane['columns']);
}
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'];
}
}
return $this->swimlanes;
}