From 382a23324174c9825a4a3976dcbd4aebd2294b98 Mon Sep 17 00:00:00 2001 From: Chris Hill-Scott Date: Thu, 7 Apr 2016 15:34:46 +0100 Subject: [PATCH] Shorten empty message on choose template You may have permission to add templates but not to send messages. The previous error message was misleading. --- app/templates/views/choose-template.html | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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 %}