Created
June 2, 2016 08:23
-
-
Save Panchev/d476bbfe133e8259fe72b6b1d6e50b04 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<li class="cb-menu-item" ng-class="{ 'cb-menu-item-current': vm.isSegmentOpened() }" data-type="{{ vm.segment.type }}"> | |
<a class="cb-menu-link" ng-href="vm.getSegmentHref()"> | |
<span class="cb-segment-title">{{ vm.segment.title }}</span> | |
<i class="fa fa-chevron-left" ng-if="vm.segment.children.length"></i> | |
<span class="cb-menu-link-count"> | |
<ng-pluralize count="vm.segment.children.length" when="vm.pluralizeRules"></ng-pluralize> | |
</span> | |
</a> | |
<ul class="cb-menu-dropdown" ui-sortable="vm.sortableOptions" ng-model="vm.segment.children"> | |
<li ng-repeat="child in vm.segment.children"> | |
<a ng-href="{{ vm.getChildHref(child.id, vm.segment.type) }}"> | |
{{ child.settings.title }} | |
</a> | |
</li> | |
</ul> | |
</li> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment