mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-11-25 09:03:12 +03:00
5225a3d30a
no issue - adds `whats-new` service that fetches the changelog from ghost.org and exposes the latest changelog entries - trigger a background fetch of the changelog from ghost.org when first loading the admin when logged in, or after signing in - adds a "What's new" menu item next to the user popup menu - adds an indicator to the user menu button and what's new menu item if there are unseen changelog entries - closing the changelog modal will update the "last seen date", clearing both indicators
28 lines
686 B
Handlebars
28 lines
686 B
Handlebars
{{#gh-app showSettingsMenu=ui.showSettingsMenu}}
|
|
{{#gh-skip-link anchor=".gh-main"}}Skip to main content{{/gh-skip-link}}
|
|
|
|
{{gh-alerts}}
|
|
|
|
<div class="gh-viewport {{if ui.showSettingsMenu 'settings-menu-expanded'}} {{if ui.showMobileMenu 'mobile-menu-expanded'}}">
|
|
{{#if showNavMenu}}
|
|
{{gh-nav-menu
|
|
icon=settings.settledIcon
|
|
}}
|
|
{{/if}}
|
|
|
|
<main class="gh-main {{this.ui.mainClass}}" role="main">
|
|
{{outlet}}
|
|
</main>
|
|
|
|
{{gh-notifications}}
|
|
|
|
{{gh-content-cover}}
|
|
|
|
{{gh-mobile-nav-bar}}
|
|
|
|
<GhWhatsNew />
|
|
</div>{{!gh-viewport}}
|
|
{{/gh-app}}
|
|
|
|
{{ember-load-remover}}
|