0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-02-03 23:00:14 -05:00

Merge pull request #764 from matthojo/Flash-Bar

Renamed the notifications container
This commit is contained in:
Hannah Wolfe 2013-09-16 06:07:55 -07:00
commit cefa0e14ef
3 changed files with 4 additions and 4 deletions

View file

@ -889,7 +889,7 @@ nav {
Notifications Notifications
========================================================================== */ ========================================================================== */
#flashbar { #notifications {
@include breakpoint($mobile) { @include breakpoint($mobile) {
position: fixed; position: fixed;
top: 0; top: 0;

View file

@ -124,7 +124,7 @@
/** /**
* This is the view to generate the markup for the individual * This is the view to generate the markup for the individual
* notification. Will be included into #flashbar. * notification. Will be included into #notifications.
* *
* States can be * States can be
* - persistent * - persistent
@ -154,7 +154,7 @@
* This handles Notification groups * This handles Notification groups
*/ */
Ghost.Views.NotificationCollection = Ghost.View.extend({ Ghost.Views.NotificationCollection = Ghost.View.extend({
el: '#flashbar', el: '#notifications',
initialize: function () { initialize: function () {
var self = this; var self = this;
this.render(); this.render();

View file

@ -26,7 +26,7 @@
{{/unless}} {{/unless}}
<main role="main" id="main"> <main role="main" id="main">
<aside id="flashbar"> <aside id="notifications">
{{> notifications}} {{> notifications}}
</aside> </aside>