Ghost/ghost/admin/templates/application.hbs
Jason Williams 73be0780b9 Add a notify action to the notifications component
Refs #3160
- gh-notifications component now takes an optional notify
  parameter.  If present it will be invoked as an action
  when a notification is added or removed.
- Add a data-notification-count attribute to the main container
  that tracks the number of "top" notification messages that
  are currently being shown.
2014-07-17 17:34:38 +00:00

12 lines
301 B
Handlebars

{{#unless hideNav}}
{{partial "navbar"}}
{{/unless}}
<main role="main" id="main" {{bind-attr data-notification-count=topNotificationCount}}>
{{gh-notifications location="top" notify="topNotificationChange"}}
{{gh-notifications location="bottom"}}
{{outlet}}
</main>
{{outlet modal}}