Sha256: cb9cc5fd56829c123bb9904ef0e962060d763bc7e1ee906526b422f9b434f777

Contents?: true

Size: 973 Bytes

Versions: 13

Compression:

Stored size: 973 Bytes

Contents

%aside#notifications
  - if flash[:notice]
    .notification.animated.fadeInRight
      = 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.fadeInRight
      = 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.fadeInRight
      = icon('large-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

13 entries across 13 versions & 1 rubygems

Version Path
spina-1.2.0 app/views/spina/admin/shared/_notifications.html.haml
spina-1.1.4 app/views/spina/admin/shared/_notifications.html.haml
spina-1.1.3 app/views/spina/admin/shared/_notifications.html.haml
spina-1.1.2 app/views/spina/admin/shared/_notifications.html.haml
spina-1.1.1 app/views/spina/admin/shared/_notifications.html.haml
spina-1.1.0 app/views/spina/admin/shared/_notifications.html.haml
spina-1.0.3 app/views/spina/admin/shared/_notifications.html.haml
spina-1.0.2 app/views/spina/admin/shared/_notifications.html.haml
spina-1.0.1 app/views/spina/admin/shared/_notifications.html.haml
spina-1.0.0 app/views/spina/admin/shared/_notifications.html.haml
spina-0.12.0 app/views/spina/admin/shared/_notifications.html.haml
spina-0.11.1 app/views/spina/admin/shared/_notifications.html.haml
spina-0.11.0 app/views/spina/admin/shared/_notifications.html.haml