mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-02-03 23:00:14 -05:00
Should close #37. There are persistent and passive notifications. Persistent ones: * are stored on `ghost.notifications`. * have an api made to add / remove them with client side ajax logic (probably not the most elegant, but works) * uses a modified `flashes.hbs` template * will only disappear if user closes the bar * stack Passive * added with backbone view / collection combo * stack * disappears on navigation and when user closes it
4 lines
194 B
Handlebars
4 lines
194 B
Handlebars
<section class="notification{{#if type}}-{{type}}{{/if}} notification-{{status}} js-notification">
|
|
{{message}}
|
|
<a class="close" href="#"><span class="hidden">Close</span></a>
|
|
</section>
|