summaryrefslogtreecommitdiff
path: root/app/Template/project_user_overview/layout.php
diff options
context:
space:
mode:
authorFrederic Guillot <fred@kanboard.net>2016-05-28 13:41:54 -0400
committerFrederic Guillot <fred@kanboard.net>2016-05-28 13:41:54 -0400
commit1353929a7dbd3f2e897fa7d3ab88e959ca573f9f (patch)
tree30bdbac4e466e74c3dfb4d451422f03c62bcbe41 /app/Template/project_user_overview/layout.php
parentab48a09f0d674b703467975b376c5ac7352670ae (diff)
Rename controllers
Diffstat (limited to 'app/Template/project_user_overview/layout.php')
-rw-r--r--app/Template/project_user_overview/layout.php27
1 files changed, 27 insertions, 0 deletions
diff --git a/app/Template/project_user_overview/layout.php b/app/Template/project_user_overview/layout.php
new file mode 100644
index 00000000..ab4326f6
--- /dev/null
+++ b/app/Template/project_user_overview/layout.php
@@ -0,0 +1,27 @@
+<section id="main">
+ <div class="page-header">
+ <ul>
+ <li>
+ <i class="fa fa-folder fa-fw"></i>
+ <?= $this->url->link(t('Projects list'), 'ProjectListController', 'show') ?>
+ </li>
+ <?php if ($this->user->hasAccess('gantt', 'projects')): ?>
+ <li>
+ <i class="fa fa-sliders fa-fw"></i>
+ <?= $this->url->link(t('Projects Gantt chart'), 'gantt', 'projects') ?>
+ </li>
+ <?php endif ?>
+ </ul>
+ </div>
+ <section class="sidebar-container">
+
+ <?= $this->render($sidebar_template, array('users' => $users, 'filter' => $filter)) ?>
+
+ <div class="sidebar-content">
+ <div class="page-header">
+ <h2><?= $this->text->e($title) ?></h2>
+ </div>
+ <?= $content_for_sublayout ?>
+ </div>
+ </section>
+</section>