summaryrefslogtreecommitdiff
path: root/app/Controller/Project.php
diff options
context:
space:
mode:
authorFrédéric Guillot <fred@kanboard.net>2014-11-08 13:33:07 -0500
committerFrédéric Guillot <fred@kanboard.net>2014-11-08 13:33:07 -0500
commit20c8342503b40e2b6a5d2f635d8efc82b7ae6bae (patch)
tree6913ff7b89266116974951811e5e289cd2ac1032 /app/Controller/Project.php
parent30c7e961695b0751c75aea8f9cb6b02583631488 (diff)
Change form styles
Diffstat (limited to 'app/Controller/Project.php')
-rw-r--r--app/Controller/Project.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/app/Controller/Project.php b/app/Controller/Project.php
index becdd135..bdc382f7 100644
--- a/app/Controller/Project.php
+++ b/app/Controller/Project.php
@@ -404,6 +404,7 @@ class Project extends Base
$project = $this->getProject();
$this->response->html($this->template->layout('project_activity', array(
+ 'board_selector' => $this->projectPermission->getAllowedProjects($this->acl->getUserId()),
'events' => $this->projectActivity->getProject($project['id']),
'project' => $project,
'title' => t('%s\'s activity', $project['name'])
@@ -432,6 +433,7 @@ class Project extends Base
}
$this->response->html($this->template->layout('project_search', array(
+ 'board_selector' => $this->projectPermission->getAllowedProjects($this->acl->getUserId()),
'tasks' => $tasks,
'nb_tasks' => $nb_tasks,
'pagination' => array(
@@ -474,6 +476,7 @@ class Project extends Base
$nb_tasks = $this->taskFinder->countByProjectId($project['id'], array(TaskModel::STATUS_CLOSED));
$this->response->html($this->template->layout('project_tasks', array(
+ 'board_selector' => $this->projectPermission->getAllowedProjects($this->acl->getUserId()),
'pagination' => array(
'controller' => 'project',
'action' => 'tasks',