diff options
author | Frederic Guillot <fred@kanboard.net> | 2015-02-04 22:05:41 -0500 |
---|---|---|
committer | Frederic Guillot <fred@kanboard.net> | 2015-02-04 22:05:41 -0500 |
commit | 2d070627d751bf5728ec98a5efaf163532594cd9 (patch) | |
tree | 2f1781baea559e40230bb10dc394b56e8a7d6f22 /app/Template | |
parent | 24300f828a684eedf71d63374effb2be95c13b1a (diff) |
Add user dashboard view
Diffstat (limited to 'app/Template')
-rw-r--r-- | app/Template/user/sidebar.php | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/app/Template/user/sidebar.php b/app/Template/user/sidebar.php index f74c8b01..4376aa18 100644 --- a/app/Template/user/sidebar.php +++ b/app/Template/user/sidebar.php @@ -29,6 +29,12 @@ <?= $this->a(t('Persistent connections'), 'user', 'sessions', array('user_id' => $user['id'])) ?> </li> <?php endif ?> + + <?php if ($this->userSession->isAdmin()): ?> + <li> + <?= $this->a(t('User dashboard'), 'app', 'dashboard', array('user_id' => $user['id'])) ?> + </li> + <?php endif ?> <?php if ($this->userSession->isAdmin() && ! $this->userSession->isCurrentUser($user['id'])): ?> <li> |