Add user dashboard view

This commit is contained in:
Frederic Guillot
2015-02-04 22:05:41 -05:00
parent 24300f828a
commit 2d070627d7
17 changed files with 36 additions and 5 deletions

View File

@@ -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>