diff --git a/app/templates/views/choose-template.html b/app/templates/views/choose-template.html index 15d1ba883..655dbe03c 100644 --- a/app/templates/views/choose-template.html +++ b/app/templates/views/choose-template.html @@ -16,8 +16,9 @@ {% if current_user.has_permissions(permissions=['manage_templates'], any_=True) %}

- You need a template before you can send - {{ 'emails' if 'email' == template_type else 'text messages' }} + There are no + {{ 'email' if 'email' == template_type else 'text message' }} + templates

Add a new template {% else %} diff --git a/app/templates/views/dashboard/dashboard.html b/app/templates/views/dashboard/dashboard.html index adabb0594..aab538aeb 100644 --- a/app/templates/views/dashboard/dashboard.html +++ b/app/templates/views/dashboard/dashboard.html @@ -8,10 +8,14 @@ {% if not templates and current_user.has_permissions(['send_texts', 'send_emails', 'send_letters'], any_=True) %} {% include 'views/dashboard/get-started.html' %} - {% elif current_service.restricted %} -
+ {% elif current_user.has_permissions([ + 'manage_templates', 'manage_api_keys', 'manage_users', 'manage_settings + '], any_=True, admin_override=True) %} + {% if current_service.restricted %} {% include 'views/dashboard/trial-mode-banner.html' %} -
+ {% endif %} + {% else %} + {% include 'views/dashboard/no-permissions-banner.html' %} {% endif %}