mirror of
https://github.com/Retrospring/retrospring.git
synced 2025-01-31 22:49:07 +01:00
8 lines
449 B
Text
8 lines
449 B
Text
.container.announcements
|
|
- @active_announcements.each do |announcement|
|
|
.alert.alert-announcement.alert-info.alert-dismissable.hidden{ data: { 'announcement-id': announcement.id } }
|
|
%button.close{ type: "button", "data-dismiss" => "alert" }
|
|
%span{ "aria-hidden" => "true" } ×
|
|
%p= announcement.content
|
|
- if announcement.link_present?
|
|
%a.alert-link{ href: announcement.link_href }= announcement.link_text
|