From 92674641aced5801942d5e55ac6dddf193e598db Mon Sep 17 00:00:00 2001 From: Chris Hill-Scott Date: Wed, 17 Jan 2018 15:45:45 +0000 Subject: [PATCH 1/2] =?UTF-8?q?Tell=20people=20they=20can=20close=20tab=20?= =?UTF-8?q?once=20email=20auth=E2=80=99d?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit We’ve seen people come back to this page once signed in and be confused what it’s for and how they get back to Notify. The best way to avoid confusion is (we think) getting people to close this tab. --- app/templates/views/two-factor-email.html | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/app/templates/views/two-factor-email.html b/app/templates/views/two-factor-email.html index 0d6278534..e547973d9 100644 --- a/app/templates/views/two-factor-email.html +++ b/app/templates/views/two-factor-email.html @@ -10,7 +10,8 @@

{{ title }}

-

We’ve sent you an email with your login link

+

We’ve emailed you a link to sign in to Notify.

+

Clicking the link will open Notify in a new browser window, so you can close this one.

{{ page_footer( secondary_link=url_for('main.email_not_received'), secondary_link_text='Not received an email?' @@ -18,4 +19,4 @@
-{% endblock %} \ No newline at end of file +{% endblock %} From 375e15511cd8833bbdb794173bf51d6899a345a3 Mon Sep 17 00:00:00 2001 From: Chris Hill-Scott Date: Wed, 17 Jan 2018 15:53:52 +0000 Subject: [PATCH 2/2] Make page title match

MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This is what we do as convention, unless there’s a good reason not to, and is better than ’Email verification’. --- app/templates/views/two-factor-email.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/templates/views/two-factor-email.html b/app/templates/views/two-factor-email.html index e547973d9..105f66351 100644 --- a/app/templates/views/two-factor-email.html +++ b/app/templates/views/two-factor-email.html @@ -2,7 +2,7 @@ {% from "components/page-footer.html" import page_footer %} {% block per_page_title %} - Email verification + {{ title }} {% endblock %} {% block maincolumn_content %}