2021-06-19 20:27:51 +02:00
|
|
|
<% if $ShowNotifications && $NotificationsToday %>
|
|
|
|
<div class="notifications-list">
|
|
|
|
<% loop $NotificationsToday %>
|
|
|
|
<div class="alert alert-warning">
|
2021-10-16 13:00:51 +02:00
|
|
|
<div class="alert__container container">
|
2021-06-19 20:27:51 +02:00
|
|
|
<% if $DisplayTitle && $Title %>
|
2021-10-16 13:00:51 +02:00
|
|
|
<h2 class="alert__title">$Title</h2>
|
2021-06-19 20:27:51 +02:00
|
|
|
<% end_if %>
|
|
|
|
|
2021-10-16 13:00:51 +02:00
|
|
|
<div class="alert__html typography">
|
2021-06-19 20:27:51 +02:00
|
|
|
$Content
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<% if $TargetLink %>
|
|
|
|
<% with $TargetLink %>
|
|
|
|
<a
|
2021-10-16 13:00:51 +02:00
|
|
|
class="alert__link" href="$LinkURL"
|
2021-06-19 20:27:51 +02:00
|
|
|
<% if $OpenInNewWindow %> target="_blank"<% end_if %>
|
|
|
|
>
|
|
|
|
$Title
|
|
|
|
</a>
|
|
|
|
<% end_with %>
|
|
|
|
<% end_if %>
|
|
|
|
|
2021-10-16 13:00:51 +02:00
|
|
|
<button
|
|
|
|
type="button"
|
|
|
|
class="alert__close btn btn-danger btn-close"
|
|
|
|
data-bs-dismiss="alert" aria-label="Close"
|
|
|
|
>
|
2021-06-19 20:27:51 +02:00
|
|
|
<i class="fas fa-times"></i>
|
2021-10-16 13:00:51 +02:00
|
|
|
</button>
|
2021-06-19 20:27:51 +02:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<% end_loop %>
|
|
|
|
</div>
|
|
|
|
<% end_if %>
|