diff options
Diffstat (limited to 'app/Template/user/sidebar.php')
-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> |