mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-02-05 10:53:28 -05:00
This commit: - adds the template to the jobs page (and puts it at the top of the send SMS page) so that it consistently appears in the same place throughout the journey - put the real data about a job on the jobs page and on the dashboard
14 lines
506 B
HTML
14 lines
506 B
HTML
{% from "components/banner.html" import banner %}
|
|
{% with messages = get_flashed_messages(with_categories=true) %}
|
|
{% if messages %}
|
|
{% for category, message in messages %}
|
|
{{ banner(
|
|
message,
|
|
'default' if category == 'default' or 'default_with_tick' else 'dangerous',
|
|
delete_button="Yes, delete this template" if 'delete' == category else None,
|
|
with_tick=True if category == 'default_with_tick' else False
|
|
)}}
|
|
{% endfor %}
|
|
{% endif %}
|
|
{% endwith %}
|