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