summaryrefslogtreecommitdiff
path: root/app/Template/dashboard/layout.php
diff options
context:
space:
mode:
Diffstat (limited to 'app/Template/dashboard/layout.php')
-rw-r--r--app/Template/dashboard/layout.php10
1 files changed, 4 insertions, 6 deletions
diff --git a/app/Template/dashboard/layout.php b/app/Template/dashboard/layout.php
index dbd16886..45b52451 100644
--- a/app/Template/dashboard/layout.php
+++ b/app/Template/dashboard/layout.php
@@ -7,9 +7,9 @@
</li>
<?php endif ?>
<?php if ($this->app->config('disable_private_project', 0) == 0): ?>
- <li>
- <?= $this->modal->medium('lock', t('New private project'), 'ProjectCreationController', 'createPrivate') ?>
- </li>
+ <li>
+ <?= $this->modal->medium('lock', t('New private project'), 'ProjectCreationController', 'createPrivate') ?>
+ </li>
<?php endif ?>
<li>
<?= $this->url->icon('folder', t('Project management'), 'ProjectListController', 'show') ?>
@@ -17,9 +17,7 @@
<li>
<?= $this->modal->medium('dashboard', t('My activity stream'), 'ActivityController', 'user') ?>
</li>
- <li>
- <?= $this->modal->medium('calendar', t('My calendar'), 'CalendarController', 'user') ?>
- </li>
+ <?= $this->hook->render('template:dashboard:page-header:menu', array('user' => $user)) ?>
</ul>
</div>
<section class="sidebar-container" id="dashboard">