summaryrefslogtreecommitdiff
path: root/app/Template/gantt
diff options
context:
space:
mode:
Diffstat (limited to 'app/Template/gantt')
-rw-r--r--app/Template/gantt/project.php24
1 files changed, 7 insertions, 17 deletions
diff --git a/app/Template/gantt/project.php b/app/Template/gantt/project.php
index 7ad859c7..1face3b8 100644
--- a/app/Template/gantt/project.php
+++ b/app/Template/gantt/project.php
@@ -1,22 +1,12 @@
<section id="main">
- <div class="page-header">
+ <?= $this->render('project/filters', array(
+ 'project' => $project,
+ 'filters' => $filters,
+ 'users_list' => $users_list,
+ )) ?>
+
+ <div class="menu-inline">
<ul>
- <li>
- <span class="dropdown">
- <span>
- <i class="fa fa-caret-down"></i> <a href="#" class="dropdown-menu"><?= t('Actions') ?></a>
- <ul>
- <?= $this->render('project/dropdown', array('project' => $project)) ?>
- </ul>
- </span>
- </span>
- </li>
- <li>
- <i class="fa fa-th fa-fw"></i>
- <?= $this->url->link(t('Back to the board'), 'board', 'show', array('project_id' => $project['id'])) ?>
- </li>
- </ul>
- <ul class="views toolbar">
<li <?= $sorting === 'board' ? 'class="active"' : '' ?>>
<i class="fa fa-sort-numeric-asc fa-fw"></i>
<?= $this->url->link(t('Sort by position'), 'gantt', 'project', array('project_id' => $project['id'], 'sorting' => 'board')) ?>