summaryrefslogtreecommitdiff
path: root/app/Template/project_header/header.php
diff options
context:
space:
mode:
authorFrederic Guillot <fred@kanboard.net>2016-02-14 16:11:55 -0500
committerFrederic Guillot <fred@kanboard.net>2016-02-14 16:11:55 -0500
commit07e3f51edb76f1c20c7c7f222b356cd0a26fca42 (patch)
tree288f076e1800b01e9ac080ab84518dffe31d5820 /app/Template/project_header/header.php
parent30fefe4fa9ab3f04f8344f00556f4f2f2c5ec563 (diff)
Move project header templates to folder project_header
Diffstat (limited to 'app/Template/project_header/header.php')
-rw-r--r--app/Template/project_header/header.php14
1 files changed, 14 insertions, 0 deletions
diff --git a/app/Template/project_header/header.php b/app/Template/project_header/header.php
new file mode 100644
index 00000000..eca9b327
--- /dev/null
+++ b/app/Template/project_header/header.php
@@ -0,0 +1,14 @@
+<div class="page-header">
+ <?= $this->hook->render('template:project:header:before', array('project' => $project)) ?>
+ <?= $this->render('project_header/dropdown', array('project' => $project, 'is_board' => isset($is_board))) ?>
+ <?= $this->render('project_header/views', array('project' => $project, 'filters' => $filters)) ?>
+ <?= $this->render('project_header/search', array(
+ 'project' => $project,
+ 'filters' => $filters,
+ 'custom_filters_list' => isset($custom_filters_list) ? $custom_filters_list : array(),
+ 'users_list' => isset($users_list) ? $users_list : array(),
+ 'categories_list' => isset($categories_list) ? $categories_list : array(),
+ )) ?>
+
+ <?= $this->hook->render('template:project:header:after', array('project' => $project)) ?>
+</div> \ No newline at end of file