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

10 lines
279 B
Scheme
Raw Normal View History

<% if $ShowNotifications && $NotificationsToday %>
<% loop $NotificationsToday %>
<div class="alert alert-warning">
<% if $Title %>
<b>$Title:</b>
<% end_if %>
$Content
</div>
<% end_loop %>
<% end_if %>