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

14 lines
385 B
Scheme
Raw Normal View History

2020-04-02 02:20:17 +02:00
<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>
2018-09-15 00:55:42 +02:00
<% if $SiteWideMessage %>
2018-12-12 12:58:55 +01:00
<div class="alert alert-fixed-top alert-{$Type}">
{$Message}
</div>
2018-09-15 00:55:42 +02:00
<% end_if %>
<% with $SiteConfig %>
<% include Site\Objects\NotificationsList %>
2020-04-02 02:20:17 +02:00
<% end_with %>