mirror of
https://github.com/lucaspalomodevelop/eventcally.git
synced 2026-03-13 00:07:22 +00:00
16 lines
571 B
HTML
16 lines
571 B
HTML
{% set announcement = get_announcement() %}
|
|
{% if announcement %}
|
|
<div class="alert alert-warning" role="alert">{{ announcement }}</div>
|
|
{% endif %}
|
|
|
|
{%- with messages = get_flashed_messages(with_categories=true) -%}
|
|
{% if messages %}
|
|
{% for category, message in messages %}
|
|
<div class="alert alert-{{ category }} alert-dismissible" role="alert">
|
|
<button type="button" class="close" data-dismiss="alert" aria-label="Close"><span aria-hidden="true">×</span></button>
|
|
{{ message }}
|
|
</div>
|
|
{% endfor %}
|
|
{% endif %}
|
|
{%- endwith %}
|