2020-04-19 13:38:21 -07:00
|
|
|
.container.announcements
|
|
|
|
- @active_announcements.each do |announcement|
|
2020-04-19 14:27:50 -07:00
|
|
|
.alert.alert-announcement.alert-info.alert-dismissable.hidden{ data: { 'announcement-id': announcement.id } }
|
|
|
|
%button.close{ type: "button", "data-dismiss" => "alert" }
|
|
|
|
%span{ "aria-hidden" => "true" } ×
|
2020-04-19 13:38:21 -07:00
|
|
|
%p= announcement.content
|
|
|
|
- if announcement.link_present?
|
|
|
|
%a.alert-link{ href: announcement.link_href }= announcement.link_text
|