{{#unless this.session.user.isContributor}}
{{#if (gh-user-can-admin this.session.user)}}
{{svg-jar "house"}} Dashboard
{{/if}}
{{svg-jar "view-site"}} View site
{{svg-jar "external"}}
{{svg-jar "posts"}}Posts
{{svg-jar "plus"}}
{{#if this.session.user.isAuthorOrContributor}}
{{#if this.customViews.forPosts}}
{{#each this.customViews.forPosts as |view|}}
{{view.name}}
{{#unless view.icon}}
{{/unless}}
{{/each}}
{{/if}}
{{else}}
{{#if this.customViews.forPosts}}
{{svg-jar (if this.navigation.settings.expanded.posts "arrow-down-stroke" "arrow-right-stroke")}}
{{#liquid-if this.navigation.settings.expanded.posts}}
{{#each this.customViews.forPosts as |view|}}
{{view.name}}
{{#unless view.icon}}
{{/unless}}
{{/each}}
{{/liquid-if}}
{{/if}}
{{/if}}
{{!-- clicking the Content link whilst on the content screen should reset the filter --}}
{{#if (eq this.router.currentRouteName "pages")}}
{{svg-jar "page"}}Pages
{{else}}
{{svg-jar "page"}}Pages
{{/if}}
{{#if this.showTagsNavigation}}
{{svg-jar "tag"}}Tags
{{/if}}
{{#if (gh-user-can-admin this.session.user)}}
{{#if (eq this.router.currentRouteName "members.index")}}
{{svg-jar "members"}}Members
{{#unless this.memberCountLoading}}
{{format-number this.membersStats.memberCount}}
{{/unless}}
{{else}}
{{svg-jar "members"}}Members
{{#unless this.memberCountLoading}}
{{format-number this.membersStats.memberCount}}
{{/unless}}
{{/if}}
{{#if this.settings.paidMembersEnabled}}
{{svg-jar "percentage"}}Offers
{{/if}}
{{/if}}
{{#if this.session.user.isOwnerOnly}}
{{/if}}
{{#if this.showMenuExtension}}
{{#if this.config.clientExtensions.menu.title}}
{{this.config.clientExtensions.menu.title}}
{{/if}}
{{#each this.config.clientExtensions.menu.items as |menuItem| }}
{{svg-jar menuItem.icon}}{{menuItem.text}}
{{/each}}
{{/if}}
{{#if this.showScriptExtension}}
{{{this.config.clientExtensions.script.container}}}
{{/if}}
{{/unless}}