Call ‘send test’ ‘generate preview’ for letters

We think that sending a test for letters will mean downloading or being
emailed a PDF version of the populated template. While we haven’t
changed the app to do this yet, renaming the button is a good way to get
feedback about it from research.
This commit is contained in:
Chris Hill-Scott
2017-03-10 17:57:48 +00:00
parent 14bd05c8a5
commit e391c7092a
2 changed files with 5 additions and 1 deletions

View File

@@ -175,7 +175,11 @@
wrapping_class='bottom-gutter-2-3'
) }}
{% endif %}
{% if template.template_type != 'letter' or not request.args.from_test %}
<input type="submit" class="button" value="Send {{ count_of_recipients }} {{ message_count_label(count_of_recipients, template.template_type, suffix='') }}" />
{% else %}
<a href="#" class="heading-medium">Download as PDF</a>
{% endif %}
<a href="{{ back_link }}" class="page-footer-back-link">Back</a>
</form>
{% endif %}

View File

@@ -37,7 +37,7 @@
</a>
&emsp;
<a href="{{ url_for(".send_test", service_id=current_service.id, template_id=template.id) }}" class="heading-medium">
Send yourself a test
{{ 'Generate preview' if template.template_type == 'letter' else 'Send yourself a test' }}
</a>
</p>
{% endif %}