Rename ‘Send a message’ to ‘Templates’ in basic view

From Karl:

> Templates – this should be consistent with Admin view. Users may
> switch from Basic to Admin view (or vice versa), they will also
> interact with users who have a different view or permissions to them.
> Neither should have to learn new interfaces and language if possible.

> ‘Send a message’ was a nice, active label – but Notify options aren’t
> usually actions. If we’re going to change this we should be consistent
> across both Admin and Basic views.

> For the same reason, I have rejected ‘see’, ‘search’ and ‘view sent
> messages’. It will be interesting to see in user testing whether users
> read ‘sent messages’ as ‘send messages’.
This commit is contained in:
Chris Hill-Scott
2018-07-13 16:13:24 +01:00
parent c4b5e0c4b6
commit ca9fe6c8f6
7 changed files with 8 additions and 12 deletions

View File

@@ -140,14 +140,8 @@ def choose_template(service_id, template_type='all'):
)
]
if current_user.has_permissions('view_activity'):
page_title = 'Templates'
else:
page_title = 'Choose a template'
return render_template(
'views/templates/choose.html',
page_title=page_title,
templates=templates_on_page,
show_search_box=(len(templates_on_page) > 7),
show_template_nav=has_multiple_template_types and (len(templates) > 2),

View File

@@ -20,7 +20,7 @@
{% else %}
<nav class="navigation">
<ul>
<li><a href="{{ url_for('.choose_template', service_id=current_service.id) }}" {{ casework_navigation.is_selected('send-one-off') }}>Send a message</a></li>
<li><a href="{{ url_for('.choose_template', service_id=current_service.id) }}" {{ casework_navigation.is_selected('send-one-off') }}>Templates</a></li>
</ul>
<ul>
<li><a href="{{ url_for('.view_notifications', service_id=current_service.id, status='sending,delivered,failed') }}" {{ casework_navigation.is_selected('sent-messages') }}>Sent messages</a></li>

View File

@@ -4,6 +4,8 @@
{% extends "withnav_template.html" %}
{% set page_title = 'Templates' %}
{% block service_page_title %}
{{ page_title }}
{% endblock %}