_notification.html.slim 426 Bytes
Newer Older
1
- if alert.present?
2
    = notification_bubble(alert, 'alert-warning')
3
- elsif notice.present?
4
  - if notice.is_a? String
5
    = notification_bubble(notice, 'alert-warning')
6
  - elsif notice.is_a? Hash
7
8
9
10
    = render 'notification_alert_with_action', notice: notice
- elsif @custom_notice.present?
  - @custom_notice[:action_link].stringify_keys!
  = render 'notification_alert_with_action', notice: @custom_notice.stringify_keys