[UI] fix active check in subscription menu (#1858)
parent
7c39c8024d
commit
6b9be92263
1 changed files with 3 additions and 3 deletions
@ -1,15 +1,15 @@ |
||||
<ul class="nav nav-list aside"> |
||||
<li class="nav-header"><?php echo _t('sub.menu.subscription_management'); ?></li>
|
||||
|
||||
<li class="item<?php echo Minz_Request::controllerName() == 'subscription' ? ' active' : ''; ?>">
|
||||
<li class="item<?php echo Minz_Request::controllerName() === 'subscription' && Minz_Request::actionName() !== 'bookmarklet' ? ' active' : ''; ?>">
|
||||
<a href="<?php echo _url('subscription', 'index'); ?>"><?php echo _t('sub.menu.subscription_management'); ?></a>
|
||||
</li> |
||||
|
||||
<li class="item<?php echo Minz_Request::controllerName() == 'importExport' ? ' active' : ''; ?>">
|
||||
<li class="item<?php echo Minz_Request::controllerName() === 'importExport' ? ' active' : ''; ?>">
|
||||
<a href="<?php echo _url('importExport', 'index'); ?>"><?php echo _t('sub.menu.import_export'); ?></a>
|
||||
</li> |
||||
|
||||
<li class="item<?php echo Minz_Request::controllerName() == 'bookmarklet' ? ' active' : ''; ?>">
|
||||
<li class="item<?php echo Minz_Request::controllerName() === 'subscription' && Minz_Request::actionName() === 'bookmarklet' ? ' active' : ''; ?>">
|
||||
<a href="<?php echo _url('subscription', 'bookmarklet'); ?>"><?php echo _t('sub.menu.subscription_tools'); ?></a>
|
||||
</li> |
||||
</ul> |
||||
|
Loading…
Reference in new issue