summaryrefslogtreecommitdiff
path: root/app/Controller/Calendar.php
diff options
context:
space:
mode:
authorFrederic Guillot <fred@kanboard.net>2016-03-25 17:41:41 -0400
committerFrederic Guillot <fred@kanboard.net>2016-03-25 17:41:41 -0400
commit354e37971d43d3b62d8f4e2a23eff09e88525627 (patch)
treeab7ded1870bbdec219909cf5f5c9d50549d2c9a1 /app/Controller/Calendar.php
parent13d5bd8e48bd6c0109d1272da58a8879bf9a6737 (diff)
Unification of project header
Diffstat (limited to 'app/Controller/Calendar.php')
-rw-r--r--app/Controller/Calendar.php7
1 files changed, 6 insertions, 1 deletions
diff --git a/app/Controller/Calendar.php b/app/Controller/Calendar.php
index a0a25e41..af31ae47 100644
--- a/app/Controller/Calendar.php
+++ b/app/Controller/Calendar.php
@@ -20,9 +20,14 @@ class Calendar extends Base
*/
public function show()
{
+ $project = $this->getProject();
+
$this->response->html($this->helper->layout->app('calendar/show', array(
+ 'project' => $project,
+ 'title' => $project['name'],
+ 'description' => $this->helper->projectHeader->getDescription($project),
'check_interval' => $this->config->get('board_private_refresh_interval'),
- ) + $this->getProjectFilters('calendar', 'show')));
+ )));
}
/**