{{#if (and (not this.accessibleNamespaces.length) this.inRootNamespace)}}
{{! Just yield the logo if they're in the root namespace and only have access to it }} {{yield}}
{{else}}
{{yield}} {{#if this.namespaceDisplay}} {{this.namespaceDisplay}} {{else}} / (Root) {{/if}}
{{#unless this.isUserRootNamespace}} {{/unless}}
Current namespace
{{#unless this.isUserRootNamespace}} {{/unless}}
Namespaces
{{#if (contains "" this.lastMenuLeaves)}} {{! leaf is '' which is the root namespace, and then we need to iterate the root leaves }}
{{~#each this.rootLeaves as |rootLeaf|}} {{/each~}}
{{/if}} {{#each this.lastMenuLeaves as |leaf|}}
{{~#each-in (get this.namespaceTree leaf) as |leafName|}} {{/each-in~}}
{{/each}} {{#if this.canList}}
Manage namespaces
{{/if}}
{{/if}}