diff options
author | Frederic Guillot <fred@kanboard.net> | 2015-08-19 20:59:05 -0400 |
---|---|---|
committer | Frederic Guillot <fred@kanboard.net> | 2015-08-19 20:59:05 -0400 |
commit | 57bd53847cfd01d414728c871512ef2af123ffd5 (patch) | |
tree | bfff76fa16997e7de8fd43dc8fb95d49d96363c1 /app/Template/analytic | |
parent | 7264821cb838fd0333c416b4921092035636616e (diff) |
Improve sidebar menus
Diffstat (limited to 'app/Template/analytic')
-rw-r--r-- | app/Template/analytic/sidebar.php | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/app/Template/analytic/sidebar.php b/app/Template/analytic/sidebar.php index 59cc1fa6..c942f7ed 100644 --- a/app/Template/analytic/sidebar.php +++ b/app/Template/analytic/sidebar.php @@ -1,22 +1,22 @@ <div class="sidebar"> <h2><?= t('Reportings') ?></h2> <ul> - <li> + <li <?= $this->app->getRouterAction() === 'tasks' ? 'class="active"' : '' ?>> <?= $this->url->link(t('Task distribution'), 'analytic', 'tasks', array('project_id' => $project['id'])) ?> </li> - <li> + <li <?= $this->app->getRouterAction() === 'users' ? 'class="active"' : '' ?>> <?= $this->url->link(t('User repartition'), 'analytic', 'users', array('project_id' => $project['id'])) ?> </li> - <li> + <li <?= $this->app->getRouterAction() === 'cfd' ? 'class="active"' : '' ?>> <?= $this->url->link(t('Cumulative flow diagram'), 'analytic', 'cfd', array('project_id' => $project['id'])) ?> </li> - <li> + <li <?= $this->app->getRouterAction() === 'burndown' ? 'class="active"' : '' ?>> <?= $this->url->link(t('Burndown chart'), 'analytic', 'burndown', array('project_id' => $project['id'])) ?> </li> - <li> + <li <?= $this->app->getRouterAction() === 'averagetimebycolumn' ? 'class="active"' : '' ?>> <?= $this->url->link(t('Average time into each column'), 'analytic', 'averageTimeByColumn', array('project_id' => $project['id'])) ?> </li> - <li> + <li <?= $this->app->getRouterAction() === 'leadandcycletime' ? 'class="active"' : '' ?>> <?= $this->url->link(t('Lead and cycle time'), 'analytic', 'leadAndCycleTime', array('project_id' => $project['id'])) ?> </li> </ul> |