added message if not templates and doesn't have ability to add templates.

This commit is contained in:
Nicholas Staples
2016-03-14 10:49:11 +00:00
parent a4d00cf67e
commit 44e126f09c

View File

@@ -16,6 +16,8 @@
{% 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>
{% else %}
<div class="column-two-thirds">You need to ask your service manager to add templates before you can send messages</div>
{% endif %}
{% else %}