From e391c7092a5c757aa6d45f511fa43fce09a85ce9 Mon Sep 17 00:00:00 2001 From: Chris Hill-Scott Date: Fri, 10 Mar 2017 17:57:48 +0000 Subject: [PATCH] =?UTF-8?q?Call=20=E2=80=98send=20test=E2=80=99=20?= =?UTF-8?q?=E2=80=98generate=20preview=E2=80=99=20for=20letters?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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. --- app/templates/views/check.html | 4 ++++ app/templates/views/templates/_template.html | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/app/templates/views/check.html b/app/templates/views/check.html index bdb904c78..7d7de30b6 100644 --- a/app/templates/views/check.html +++ b/app/templates/views/check.html @@ -175,7 +175,11 @@ wrapping_class='bottom-gutter-2-3' ) }} {% endif %} + {% if template.template_type != 'letter' or not request.args.from_test %} + {% else %} + Download as PDF + {% endif %} Back {% endif %} diff --git a/app/templates/views/templates/_template.html b/app/templates/views/templates/_template.html index f7e6a7e45..7e125fcab 100644 --- a/app/templates/views/templates/_template.html +++ b/app/templates/views/templates/_template.html @@ -37,7 +37,7 @@   - Send yourself a test + {{ 'Generate preview' if template.template_type == 'letter' else 'Send yourself a test' }}

{% endif %}