This repository was archived by the owner on Aug 30, 2021. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +2
-5
lines changed
modules/core/client/views Expand file tree Collapse file tree 1 file changed +2
-5
lines changed Original file line number Diff line number Diff line change 10
10
</ div >
11
11
< nav class ="collapse navbar-collapse " collapse ="!isCollapsed " role ="navigation ">
12
12
< ul class ="nav navbar-nav " data-ng-if ="menu.shouldRender(authentication.user); ">
13
- < li data-ng-repeat ="item in menu.items | orderBy: 'position' " data-ng-if ="item.shouldRender(authentication.user); " ng-switch ="item.type " data-ng-class ="{active: $state.includes(item.state)} " class ="{{item.class}} " dropdown ="item.type === 'dropdown' ">
14
- < a ng-switch-when ="dropdown " class ="dropdown-toggle ">
15
- < span data-ng-bind ="item.title "> </ span >
16
- < b class ="caret "> </ b >
17
- </ a >
13
+ < li data-ng-repeat ="item in menu.items | orderBy: 'position' " data-ng-if ="item.shouldRender(authentication.user); " ng-switch ="item.type " data-ng-class ="{ active: $state.includes(item.state), dropdown: item.type === 'dropdown' } " class ="{{item.class}} ">
14
+ < a ng-switch-when ="dropdown " href ="# " class ="dropdown-toggle " data-toggle ="dropdown " role ="button " aria-haspopup ="true " aria-expanded ="false "> {{::item.title}} < span class ="caret "> </ span > </ a >
18
15
< ul ng-switch-when ="dropdown " class ="dropdown-menu ">
19
16
< li data-ng-repeat ="subitem in item.items | orderBy: 'position' " data-ng-if ="subitem.shouldRender(authentication.user); " data-ui-sref-active ="active ">
20
17
< a data-ui-sref ="{{subitem.state}} " data-ng-bind ="subitem.title "> </ a >
You can’t perform that action at this time.
0 commit comments