From 66514aa530cfb3b84f01e5eb578d35b4178e651e Mon Sep 17 00:00:00 2001 From: Frederic Guillot Date: Sat, 26 Sep 2015 21:14:04 -0400 Subject: Do not show empty swimlanes in public view --- app/Template/board/table_container.php | 22 +++++++++++++--------- 1 file changed, 13 insertions(+), 9 deletions(-) (limited to 'app') diff --git a/app/Template/board/table_container.php b/app/Template/board/table_container.php index fb9212a7..83587c44 100644 --- a/app/Template/board/table_container.php +++ b/app/Template/board/table_container.php @@ -25,20 +25,24 @@ )) ?> - 1): ?> - render('board/table_swimlane', array( + + + 1): ?> + render('board/table_swimlane', array( + 'project' => $project, + 'swimlane' => $swimlane, + 'not_editable' => isset($not_editable), + )) ?> + + + render('board/table_tasks', array( 'project' => $project, 'swimlane' => $swimlane, 'not_editable' => isset($not_editable), + 'board_highlight_period' => $board_highlight_period, )) ?> - - render('board/table_tasks', array( - 'project' => $project, - 'swimlane' => $swimlane, - 'not_editable' => isset($not_editable), - 'board_highlight_period' => $board_highlight_period, - )) ?> + -- cgit v1.2.3