summaryrefslogtreecommitdiff
path: root/app/Template/project_user_overview/layout.php
diff options
context:
space:
mode:
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>