2019-02-22 06:17:33 +03:00
|
|
|
{{#link-to "editor.new" "post" data-test-mobile-nav="new-post"}}{{svg-jar "pen"}}New post{{/link-to}}
|
2019-12-13 17:20:29 +03:00
|
|
|
{{#if (eq this.router.currentRouteName "posts")}}
|
2019-02-22 06:17:33 +03:00
|
|
|
{{#link-to "posts" (query-params type=null) classNames="active" data-test-mobile-nav="posts"}}{{svg-jar "content"}}Posts{{/link-to}}
|
2017-02-17 10:32:29 +03:00
|
|
|
{{else}}
|
2019-02-22 06:17:33 +03:00
|
|
|
{{#link-to "posts"}}{{svg-jar "content" data-test-mobile-nav="posts"}}Posts{{/link-to}}
|
2017-02-17 10:32:29 +03:00
|
|
|
{{/if}}
|
2019-02-22 12:43:35 +03:00
|
|
|
{{#link-to "staff" classNames="gh-nav-main-users" data-test-mobile-nav="staff"}}{{svg-jar "account-group"}}Staff{{/link-to}}
|
2019-12-13 17:20:29 +03:00
|
|
|
<div class="gh-mobile-nav-bar-more" {{action "openMobileMenu" target=this.ui data-test-mobile-nav="more"}}>{{svg-jar "icon" class="icon-gh"}}More</div>
|
2017-02-17 10:32:29 +03:00
|
|
|
{{yield}}
|