diff options
Diffstat (limited to 'app')
-rw-r--r-- | app/Template/project/filters.php | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/app/Template/project/filters.php b/app/Template/project/filters.php index c8f09fee..c22d7b4f 100644 --- a/app/Template/project/filters.php +++ b/app/Template/project/filters.php @@ -63,6 +63,17 @@ <div class="filter-dropdowns"> <?= $this->render('app/filters_helper', array('reset' => 'status:open')) ?> + <?php if (isset($custom_filters_list) && ! empty($custom_filters_list)): ?> + <div class="dropdown filters"> + <i class="fa fa-caret-down"></i> <a href="#" class="dropdown-menu"><?= t('My filters') ?></a> + <ul> + <?php foreach ($custom_filters_list as $filter): ?> + <li><a href="#" class="filter-helper" data-filter='<?= $this->e($filter['filter']) ?>'><?= $this->e($filter['name']) ?></a></li> + <?php endforeach ?> + </ul> + </div> + <?php endif ?> + <?php if (isset($users_list)): ?> <div class="dropdown filters"> <i class="fa fa-caret-down"></i> <a href="#" class="dropdown-menu"><?= t('Users') ?></a> @@ -86,16 +97,5 @@ </ul> </div> <?php endif ?> - - <?php if (isset($custom_filters_list) && ! empty($custom_filters_list)): ?> - <div class="dropdown filters"> - <i class="fa fa-caret-down"></i> <a href="#" class="dropdown-menu"><?= t('My filters') ?></a> - <ul> - <?php foreach ($custom_filters_list as $filter): ?> - <li><a href="#" class="filter-helper" data-filter='<?= $this->e($filter['filter']) ?>'><?= $this->e($filter['name']) ?></a></li> - <?php endforeach ?> - </ul> - </div> - <?php endif ?> </div> </div>
\ No newline at end of file |