mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-08-23 15:57:23 -04:00
added message if not templates and doesn't have ability to add templates.
This commit is contained in:
@@ -16,6 +16,8 @@
|
|||||||
|
|
||||||
{% if current_user.has_permissions(['manage_templates']) %}
|
{% if current_user.has_permissions(['manage_templates']) %}
|
||||||
<a href="{{ url_for('.add_service_template', service_id=service_id, template_type=template_type) }}" class="button">Add a new template</a>
|
<a href="{{ url_for('.add_service_template', service_id=service_id, template_type=template_type) }}" class="button">Add a new template</a>
|
||||||
|
{% else %}
|
||||||
|
<div class="column-two-thirds">You need to ask your service manager to add templates before you can send messages</div>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
{% else %}
|
{% else %}
|
||||||
|
|||||||
Reference in New Issue
Block a user