<div class="sidebar">
    <ul>
        <li <?= $this->app->checkMenuSelection('ProjectListController', 'show') ?>>
            <?= $this->url->icon('folder', '<span class="sidebar-text">'.t('Project management').'</span>', 'ProjectListController', 'show') ?>
        </li>
        <li <?= $this->app->checkMenuSelection('ActivityController', 'user') ?>>
            <?= $this->url->icon('dashboard', '<span class="sidebar-text">'.t('My activity stream').'</span>', 'ActivityController', 'user') ?>
        </li>
        <li><hr></li>
        <li <?= $this->app->checkMenuSelection('DashboardController', 'show') ?>>
            <?= $this->url->link('<i class="fa fa-fw"></i> <span class="sidebar-text">'.t('Overview').'</span>', 'DashboardController', 'show', array('user_id' => $user['id'])) ?>
        </li>
        <li <?= $this->app->checkMenuSelection('DashboardController', 'projects') ?>>
            <?= $this->url->link('<i class="fa fa-fw"></i> <span class="sidebar-text">'.t('My projects').'</span>', 'DashboardController', 'projects', array('user_id' => $user['id'])) ?>
        </li>
        <li <?= $this->app->checkMenuSelection('DashboardController', 'tasks') ?>>
            <?= $this->url->link('<i class="fa fa-fw"></i> <span class="sidebar-text">'.t('My tasks').'</span>', 'DashboardController', 'tasks', array('user_id' => $user['id'])) ?>
        </li>
        <li <?= $this->app->checkMenuSelection('DashboardController', 'subtasks') ?>>
            <?= $this->url->link('<i class="fa fa-fw"></i> <span class="sidebar-text">'.t('My subtasks').'</span>', 'DashboardController', 'subtasks', array('user_id' => $user['id'])) ?>
        </li>
        <?= $this->hook->render('template:dashboard:sidebar', array('user' => $user)) ?>
    </ul>
</div>
