diff options
author | Busfreak <martin@middeke.de> | 2015-12-17 20:00:15 +0100 |
---|---|---|
committer | Busfreak <martin@middeke.de> | 2015-12-17 20:00:15 +0100 |
commit | a4a1cd9f0cfe6679540dad538703648be19f48b1 (patch) | |
tree | 3b6440171d60c9e9585714010c17bfe04cd4ac74 /app/Template/project/sidebar.php | |
parent | bf2034b4160d09bca25030ad75d26247f0371a92 (diff) |
set class=active when selecting controller=ProjectPermission
Diffstat (limited to 'app/Template/project/sidebar.php')
-rw-r--r-- | app/Template/project/sidebar.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/Template/project/sidebar.php b/app/Template/project/sidebar.php index d484e2bc..92794038 100644 --- a/app/Template/project/sidebar.php +++ b/app/Template/project/sidebar.php @@ -33,7 +33,7 @@ <?= $this->url->link(t('Categories'), 'category', 'index', array('project_id' => $project['id'])) ?> </li> <?php if ($project['is_private'] == 0): ?> - <li <?= $this->app->getRouterController() === 'project' && $this->app->getRouterAction() === 'permissions' ? 'class="active"' : '' ?>> + <li <?= $this->app->getRouterController() === 'ProjectPermission' ? 'class="active"' : '' ?>> <?= $this->url->link(t('Permissions'), 'ProjectPermission', 'index', array('project_id' => $project['id'])) ?> </li> <?php endif ?> |