Improve user interface for tablets

This commit is contained in:
Frédéric Guillot
2014-09-10 21:13:13 +02:00
parent bb1a9f52ca
commit 917e6cab74
6 changed files with 72 additions and 60 deletions

View File

@@ -233,6 +233,9 @@ class Board extends Base
$this->notfound();
}
$board_selector = $projects;
unset($board_selector[$project_id]);
$this->response->html($this->template->layout('board_index', array(
'users' => $this->project->getUsersList($project_id, true, true),
'filters' => array('user_id' => $user_id),
@@ -243,7 +246,7 @@ class Board extends Base
'categories' => $this->category->getList($project_id, true, true),
'menu' => 'boards',
'title' => $projects[$project_id],
'board_selector' => $projects,
'board_selector' => $board_selector,
)));
}