Sha256: 68c7b1fa7aa4aba543d76df6ef1e94cae6cb9a63603af9b32073f826ee219322

Contents?: true

Size: 964 Bytes

Versions: 5

Compression:

Stored size: 964 Bytes

Contents

%aside#notifications
  - if flash[:notice]
    .notification.animated.fadeInLeft
      = icon('info')
      .notification-message
        = flash[:notice].html_safe
        %small= flash[:notice_small].try(:html_safe)
      = link_to '#', data: {close_notification: true} do
        = icon('cross')

  - if flash[:alert]
    .notification.notification-danger.animated.fadeInLeft
      = icon('exclamation')
      .notification-message
        = flash[:alert].html_safe
        %small= flash[:alert_small].try(:html_safe)
      = link_to '#', data: {close_notification: true} do
        = icon('cross')

  - if flash[:success]
    .notification.notification-success.animated.fadeInLeft
      = icon('check')
      .notification-message
        = flash[:success].html_safe
        %small= flash[:success_small].try(:html_safe)
      = link_to '#', data: {close_notification: true} do
        = icon('cross')

  = yield(:notifications) if content_for?(:notifications)

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
spina-2.0.2 app/views/spina/admin/shared/_notifications.html.haml
spina-2.0.1 app/views/spina/admin/shared/_notifications.html.haml
spina-2.0.0 app/views/spina/admin/shared/_notifications.html.haml
spina-2.0.0.beta app/views/spina/admin/shared/_notifications.html.haml
spina-2.0.0.alpha app/views/spina/admin/shared/_notifications.html.haml