Fix for user with only send permissions.

This commit is contained in:
Nicholas Staples
2016-05-09 10:55:02 +01:00
parent c60f1dc2cd
commit 05882aafb2
2 changed files with 2 additions and 2 deletions

View File

@@ -16,7 +16,7 @@
{% if current_service.restricted %}
{% include 'views/dashboard/trial-mode-banner.html' %}
{% endif %}
{% else %}
{% elif not current_user.has_permissions(['send_texts', 'send_emails', 'send_letters'], any_=True) %}
{% include 'views/dashboard/no-permissions-banner.html' %}
{% endif %}