##// END OF EJS Templates
components: added scope for breadcrumbs
components: added scope for breadcrumbs

File last commit:

r82:94fc4298
r82:94fc4298
Show More
breadcrumbs.html
12 lines | 1.0 KiB | text/html | HtmlLexer
<ol class="breadcrumb" ng-show="$ctrl.$state.includes('user.profile')">
<li>Settings</li>
<li ng-show="$ctrl.$state.includes('user.profile.edit')" ng-class="{bold:$ctrl.$state.is('user.profile.edit')}">User Profile</li>
<li ng-show="$ctrl.$state.includes('user.profile.password')" ng-class="{bold:$ctrl.$state.is('user.profile.password')}">Password</li>
<li ng-show="$ctrl.$state.includes('user.profile.identities')" ng-class="{bold:$ctrl.$state.is('user.profile.identities')}">Identities</li>
<li ng-show="$ctrl.$state.includes('user.profile.auth_tokens')" ng-class="{bold:$ctrl.$state.is('user.profile.auth_tokens')}">Auth Tokens</li>
</ol>
<ol class="breadcrumb" ng-show="$ctrl.$state.includes('user.alert_channels')">
<li>Notifications</li>
<li ng-show="$ctrl.$state.includes('user.alert_channels.list')" ng-class="{bold:$ctrl.$state.is('user.alert_channels.list')}">Alert Channels</li>
<li ng-show="$ctrl.$state.includes('user.alert_channels.email')" ng-class="{bold:$ctrl.$state.is('user.alert_channels.email')}">Create email channel</li>
</ol>