mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-02 08:13:34 +03:00
c2557fb2a5
no issue - bumped `ember`, `ember-cli`, `ember-data` and related dependencies - bumped yarn.lock sub-dependencies - use new public `router` service in place of the private `-routing` service
10 lines
630 B
Handlebars
10 lines
630 B
Handlebars
{{#link-to "editor.new" classNames="gh-nav-main-editor"}}{{inline-svg "pen"}}New story{{/link-to}}
|
|
{{#if (eq router.currentRouteName "posts.index")}}
|
|
{{#link-to "posts" (query-params type=null) classNames="gh-nav-main-content active"}}{{inline-svg "content"}}Stories{{/link-to}}
|
|
{{else}}
|
|
{{#link-to "posts" classNames="gh-nav-main-content"}}{{inline-svg "content"}}Content{{/link-to}}
|
|
{{/if}}
|
|
{{#link-to "team" classNames="gh-nav-main-users"}}{{inline-svg "account-group"}}Team{{/link-to}}
|
|
<div class="gh-mobile-nav-bar-more" {{action "openMobileMenu" target=ui}}>{{inline-svg "icon" class="icon-gh"}}More</div>
|
|
{{yield}}
|