{{settings.appName}}
    {{page-header-environment scope=scope isOwner=isOwner switchProject=(action switchProject) switchCluster=(action switchCluster) }} {{#each navTree as |item|}} {{#if item.submenu.length}} {{! Has a submenu }}
  • {{#if item.route}} {{#link-to-as-attrs item.route models=item.ctx qp=item.qp moreCurrentWhen=item.moreCurrentWhen activeParent=true class="dropdown-toggle" role="button" aria-haspopup="true" aria-expanded="false" }} {{maybe-t item.localizedLabel item.label}} {{/link-to-as-attrs}} {{else}} {{maybe-t item.localizedLabel item.label}} {{/if}}
      {{#each item.submenu as |subitem|}} {{#if subitem.route}}
    • {{#link-to-as-attrs subitem.route models=subitem.ctx qp=subitem.qp activeParent=true moreCurrentWhen=subitem.moreCurrentWhen submenuItem=true }} {{maybe-t subitem.localizedLabel subitem.label}} {{/link-to-as-attrs}}
    • {{else if subitem.divider}}
    • {{else}} {{! Just a label }}
    • {{maybe-t subitem.localizedLabel subitem.label}}
    • {{/if}} {{/each}}
  • {{else if item.route}} {{! No submenu }}
  • {{#link-to-as-attrs item.route models=item.ctx qp=item.qp activeParent=true moreCurrentWhen=item.moreCurrentWhen class="nav-link" }} {{maybe-t item.localizedLabel item.label}} {{/link-to-as-attrs}}
  • {{else}} {{! Just a label }}
  • {{maybe-t item.localizedLabel item.label}}
  • {{/if}} {{/each}}
  • {{#if accessEnabled}} {{identity-avatar link=false identity=access.identity}} {{else}}
    {{/if}} {{t 'nav.srToggleDropdown'}}
    • {{#link-to "authenticated.clusters"}}{{t 'nav.environment.manage'}}{{/link-to}}
    • {{#if isAdmin}}
    • {{#link-to "global-admin"}}{{t 'nav.admin.tab' appName=settings.appName}}{{/link-to}}
    • {{/if}} {{#if accessEnabled}}
    • {{identity-block avatar=false identity=access.identity}}
    • {{/if}} {{#if isCaas}}
    • {{#link-to "authenticated.clusters"}}{{t 'nav.environment.manage'}}{{/link-to}}
    • {{/if}}
    • {{#link-to "authenticated.prefs"}}{{t 'nav.userPreferences.link'}}{{/link-to}}
    • {{#if accessEnabled}}
    • {{#link-to "logout" class="user-logout"}} {{t 'nav.user.logout'}}{{/link-to}}
    • {{/if}}