mirror of https://github.com/akveo/blur-admin
Fixed issues with sidemenu: target and title
* Fixed sidemenu disabled menu item * Removed target attribute from sidemenu items when no 'useblank' option * enabled, because breaks html5 navigationpull/106/head
parent
4014e7d12f
commit
446f96cd48
|
@ -31,7 +31,7 @@
|
||||||
ba-ui-sref-toggling-submenu>
|
ba-ui-sref-toggling-submenu>
|
||||||
<li ng-mouseenter="hoverItem($event, item)" ng-repeat="subSubitem in ::subitem.subMenu" ui-sref-active="selected">
|
<li ng-mouseenter="hoverItem($event, item)" ng-repeat="subSubitem in ::subitem.subMenu" ui-sref-active="selected">
|
||||||
<a ng-mouseenter="hoverItem($event, item)" href ng-if="::subSubitem.disabled" class="al-sidebar-list-link">
|
<a ng-mouseenter="hoverItem($event, item)" href ng-if="::subSubitem.disabled" class="al-sidebar-list-link">
|
||||||
{{ ::item.title }}
|
{{ ::subSubitem.title }}
|
||||||
</a>
|
</a>
|
||||||
<a ng-mouseenter="hoverItem($event, item)"
|
<a ng-mouseenter="hoverItem($event, item)"
|
||||||
ui-state="subSubitem.stateRef || ''"
|
ui-state="subSubitem.stateRef || ''"
|
||||||
|
@ -44,8 +44,14 @@
|
||||||
<a ng-mouseenter="hoverItem($event, item)" href ng-if="::(!subitem.subMenu && subitem.disabled)" class="al-sidebar-list-link">
|
<a ng-mouseenter="hoverItem($event, item)" href ng-if="::(!subitem.subMenu && subitem.disabled)" class="al-sidebar-list-link">
|
||||||
{{ ::subitem.title }}
|
{{ ::subitem.title }}
|
||||||
</a>
|
</a>
|
||||||
<a ng-mouseenter="hoverItem($event, item)" target="{{::(subitem.blank ? '_blank' : '_self')}}"
|
<a ng-mouseenter="hoverItem($event, item)"
|
||||||
ng-if="::(!subitem.subMenu && !subitem.disabled)"
|
ng-if="::(!subitem.subMenu && !subitem.disabled && !subitem.blank)"
|
||||||
|
ui-state="subitem.stateRef || ''"
|
||||||
|
ng-href="{{::(subitem.fixedHref ? subitem.fixedHref: '')}}">
|
||||||
|
{{ ::subitem.title}}
|
||||||
|
</a>
|
||||||
|
<a ng-mouseenter="hoverItem($event, item)" target="_blank"
|
||||||
|
ng-if="::(!subitem.subMenu && !subitem.disabled && subitem.blank)"
|
||||||
ui-state="subitem.stateRef || ''"
|
ui-state="subitem.stateRef || ''"
|
||||||
ng-href="{{::(subitem.fixedHref ? subitem.fixedHref: '')}}">
|
ng-href="{{::(subitem.fixedHref ? subitem.fixedHref: '')}}">
|
||||||
{{ ::subitem.title}}
|
{{ ::subitem.title}}
|
||||||
|
|
Loading…
Reference in New Issue