silverstripe-webpack/app/templates/Includes/SiteWideMessage.ss
2018-12-12 12:58:55 +01:00

11 lines
315 B
Scheme

<% if $SiteWideMessage %>
<% 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 %>
<% end_if %>