mirror of
https://github.com/Retrospring/retrospring.git
synced 2025-01-19 14:06:04 +01:00
10 lines
483 B
Text
10 lines
483 B
Text
.announcement__container
|
|
- @active_announcements.each do |announcement|
|
|
.alert.announcement.alert-info.alert-dismissable.d-none{ data: { 'announcement-id': announcement.id } }
|
|
.container
|
|
%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
|