mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-02-05 10:53:28 -05:00
This takes the original prototype version of this page, and, using the same fake data (ie nothing is wired up): - adds an invite users page - adds an edit (and delete) user page Both these pages allow the user to set another user’s permissions. This commit adds images for the ticks and crosses, so we have control over their appearance.
14 lines
510 B
HTML
14 lines
510 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 (category == 'default_with_tick')) else 'dangerous',
|
|
delete_button="Yes, delete" if 'delete' == category else None,
|
|
with_tick=True if category == 'default_with_tick' else False
|
|
)}}
|
|
{% endfor %}
|
|
{% endif %}
|
|
{% endwith %}
|