Skip to content

Instantly share code, notes, and snippets.

@andrewstuart
Created August 26, 2015 15:45
Show Gist options
  • Save andrewstuart/8f8375bb375b1edbce65 to your computer and use it in GitHub Desktop.
Save andrewstuart/8f8375bb375b1edbce65 to your computer and use it in GitHub Desktop.
<ul ng-controller="TabController" id="portalNavigationList" class="menu fl-tabs flc-reorderer-column ng-scope">
<!-- ngIf: layout.currentPortlet -->
<!-- ngRepeat: folder in layout.navigation.content track by folder.ID --><li class="folder-tab ng-scope active" ng-class="{'active': layout.currentFolder === folder}" ng-repeat="folder in layout.navigation.content track by folder.ID">
<!-- ngIf: !folder.edit --><a ng-if="!folder.edit" ng-click="folder.toggleEdit()" ng-href="/uPortal/f/u27l1s300/normal/render.uP" class="ng-binding ng-scope" tabindex="0" href="/uPortal/f/u27l1s300/normal/render.uP">
MSJC
<span ng-click="layout.navigation.remove(folder)" class="remove-folder" role="button" tabindex="0">
<span class="glyphicon glyphicon-remove"></span>
</span>
</a><!-- end ngIf: !folder.edit -->
<!-- ngIf: folder.edit -->
</li><!-- end ngRepeat: folder in layout.navigation.content track by folder.ID -->
<!-- ngIf: layout.navigation.allowAddTab --><li ng-if="layout.navigation.allowAddTab" class="portal-navigation-add-item ng-scope">
<a ng-click="layout.navigation.addTab()" title="Add Tab" class="portal-navigation-add" tabindex="0">
<i class="fa fa-plus-circle"></i>
</a>
</li><!-- end ngIf: layout.navigation.allowAddTab -->
</ul>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment