silverstripe-webpack/app/templates/Site/Objects/NotificationsList.ss

18 lines
571 B
Scheme
Raw Normal View History

<% if $ShowNotifications && $NotificationsToday %>
2020-05-24 09:04:07 +02:00
<div class="notifications-list">
<% loop $NotificationsToday %>
<div class="alert alert-warning">
2020-05-24 09:04:07 +02:00
<div class="$Top.DefaultContainer">
<b class="btn btn-danger btn-close" data-dismiss="alert" aria-label="Close">
<i class="fas fa-times"></i>
</b>
<% if $Title %>
<b>$Title:</b>
<% end_if %>
$Content
</div>
</div>
<% end_loop %>
2020-05-24 09:04:07 +02:00
</div>
<% end_if %>