mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-16 20:43:01 +03:00
1bf975af90
Issue #3160 - Use notifications API to display available update notification. - Remove update_notification handlebars helper as now both the check for an available update and the notification handling is run from the server's admin controller index method. - Bind the notification's location property to a css class for styling. - Refactor Ember notifications to better handle notification objects. Move responsibility for css class generation onto the notification component. - Refactor gh-notifications component to take a location argument that's used to assign a css class and filter notifications.
12 lines
211 B
Handlebars
12 lines
211 B
Handlebars
{{#unless hideNav}}
|
|
{{partial "navbar"}}
|
|
{{/unless}}
|
|
|
|
<main role="main" id="main">
|
|
{{gh-notifications location="top"}}
|
|
{{gh-notifications location="bottom"}}
|
|
|
|
{{outlet}}
|
|
</main>
|
|
{{outlet modal}}
|