silverstripe-webpack/app/templates/Includes/SiteWideMessage.ss
2020-04-02 07:20:17 +07:00

14 lines
385 B
Scheme

<div class="alert alert-fixed-top alert-danger alert-offline">
The Internet connection is missing right now, but you're able to browse previously opened pages offline.
</div>
<% if $SiteWideMessage %>
<div class="alert alert-fixed-top alert-{$Type}">
{$Message}
</div>
<% end_if %>
<% with $SiteConfig %>
<% include Site\Objects\NotificationsList %>
<% end_with %>