silverstripe-webpack/app/templates/Includes/SiteWideMessage.ss

11 lines
315 B
Scheme
Raw Normal View History

2018-09-15 00:55:42 +02:00
<% if $SiteWideMessage %>
2018-12-12 12:58:55 +01:00
<% with $SiteWideMessage %>
<div class="alert alert-fixed-top alert-{$Type}">
{$Message}
<button type="button" class="close" data-dismiss="alert" aria-label="Close">
<i class="fas fa-times"></i>
</button>
</div>
<% end_with %>
2018-09-15 00:55:42 +02:00
<% end_if %>