summaryrefslogtreecommitdiff
path: root/app/Template/project/sidebar.php
diff options
context:
space:
mode:
authorFrederic Guillot <fred@kanboard.net>2015-10-02 21:58:00 -0400
committerFrederic Guillot <fred@kanboard.net>2015-10-02 21:58:00 -0400
commit264b5526035be61c043a5314baa0e07e8f3f8216 (patch)
tree0bf890e1b9f1a9f9fa8948978902b829a8f4e5e5 /app/Template/project/sidebar.php
parent370361330aeb37f02e87ab78ae38521da774c957 (diff)
Add custom filters (refactoring of pull-request #1312)
Diffstat (limited to 'app/Template/project/sidebar.php')
-rw-r--r--app/Template/project/sidebar.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/app/Template/project/sidebar.php b/app/Template/project/sidebar.php
index 482a95d2..d8b35e3b 100644
--- a/app/Template/project/sidebar.php
+++ b/app/Template/project/sidebar.php
@@ -4,6 +4,9 @@
<li <?= $this->app->getRouterAction() === 'show' ? 'class="active"' : '' ?>>
<?= $this->url->link(t('Summary'), 'project', 'show', array('project_id' => $project['id'])) ?>
</li>
+ <li <?= $this->app->getRouterController() === 'customfilter' && $this->app->getRouterAction() === 'index' ? 'class="active"' : '' ?>>
+ <?= $this->url->link(t('Custom filters'), 'customfilter', 'index', array('project_id' => $project['id'])) ?>
+ </li>
<?php if ($this->user->isProjectManagementAllowed($project['id'])): ?>
<li <?= $this->app->getRouterController() === 'project' && $this->app->getRouterAction() === 'share' ? 'class="active"' : '' ?>>