From ee52e72f9094587988615ff428d02d50a3b9c867 Mon Sep 17 00:00:00 2001 From: Chris Hill-Scott Date: Fri, 1 Jul 2016 17:07:39 +0100 Subject: [PATCH 1/2] Move template guidance underneath MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Two problems with having it on the side: - some users didn’t see it at all - there wasn’t space to have additional guidance about Markdown-style formatting --- .../templates/guidance-character-count.html | 20 ++++++-------- .../partials/templates/guidance-links.html | 12 +++------ .../templates/guidance-personalisation.html | 26 +++++++++---------- app/templates/views/edit-email-template.html | 3 +-- app/templates/views/edit-sms-template.html | 3 +-- 5 files changed, 26 insertions(+), 38 deletions(-) diff --git a/app/templates/partials/templates/guidance-character-count.html b/app/templates/partials/templates/guidance-character-count.html index b11dae62e..9dea399f4 100644 --- a/app/templates/partials/templates/guidance-character-count.html +++ b/app/templates/partials/templates/guidance-character-count.html @@ -1,12 +1,8 @@ -
- Message length -
-

- If your message is long then it will - cost more. -

-

- See pricing for details. -

-
-
+

Message length

+

+ If your message is long then it will + cost more. +

+

+ See pricing for details. +

diff --git a/app/templates/partials/templates/guidance-links.html b/app/templates/partials/templates/guidance-links.html index 2d7aab039..c53dcca4a 100644 --- a/app/templates/partials/templates/guidance-links.html +++ b/app/templates/partials/templates/guidance-links.html @@ -1,8 +1,4 @@ -
- Links and URLs -
-

- Always use full URLs, starting with https:// -

-
-
+

Links and URLs

+

+ Always use full URLs, starting with https:// +

diff --git a/app/templates/partials/templates/guidance-personalisation.html b/app/templates/partials/templates/guidance-personalisation.html index 3cae73723..0fa4f087a 100644 --- a/app/templates/partials/templates/guidance-personalisation.html +++ b/app/templates/partials/templates/guidance-personalisation.html @@ -1,14 +1,12 @@ -
- Personalisation -
-

- Use double brackets to add personalisation. -

-

- Correct: ((name)) -

-

- Incorrect: ((Helen)) -

-
-
+

+ Personalisation +

+

+ Use double brackets to add personalisation. +

+

+ Correct: ((name)) +

+

+ Incorrect: ((Helen)) +

diff --git a/app/templates/views/edit-email-template.html b/app/templates/views/edit-email-template.html index 1e3db961c..dd94b8962 100644 --- a/app/templates/views/edit-email-template.html +++ b/app/templates/views/edit-email-template.html @@ -26,8 +26,7 @@ delete_link_text='Delete this template' ) }} -