From 1c730604749f0b13ee2cbcdfa162d4578e29a58e Mon Sep 17 00:00:00 2001 From: Chris Heathcote Date: Tue, 22 Dec 2015 11:19:06 +0000 Subject: [PATCH] add 2 test email templates --- app/main/views/index.py | 10 +++ app/templates/email/email_template_1.html | 85 ++++++++++++++++++++ app/templates/email/email_template_2.html | 95 +++++++++++++++++++++++ 3 files changed, 190 insertions(+) create mode 100644 app/templates/email/email_template_1.html create mode 100644 app/templates/email/email_template_2.html diff --git a/app/main/views/index.py b/app/main/views/index.py index f1525d4cd..abba59bff 100644 --- a/app/main/views/index.py +++ b/app/main/views/index.py @@ -119,3 +119,13 @@ def managetemplates(): @main.route("/edit-template") def edittemplate(): return render_template('views/edit-template.html') + + +@main.route("/email-template-1") +def emailtemplate(): + return render_template('email/email_template_1.html') + + +@main.route("/email-template-2") +def emailtemplate(): + return render_template('email/email_template_2.html') diff --git a/app/templates/email/email_template_1.html b/app/templates/email/email_template_1.html new file mode 100644 index 000000000..39f42bd1e --- /dev/null +++ b/app/templates/email/email_template_1.html @@ -0,0 +1,85 @@ + + + + + + + Page title + + + + + + + +
+ + + + +
+ + GOV.UK +
+
+ + + + + +
+ + + + + +
+ +

+ This is the page title +

+ +

+ Dear A Name, +

+ +

+ This is the first paragraph. +

+ +

+ This is the second paragraph. It is longer than the first and wraps on to two lines. +

+ +

+ This paragraph includes a line-break:
+ This is the line after the line-break. +

+ +

+ This is an inset paragraph used for data or callouts
+ Application reference: 123456789
+ Date received: 15 March 2015
+

+ +

+ Second level heading

+

+ Third level heading +

+

+ Intro before a url: + + www.gov.uk/service-start-page +

+ +

+ Department or agency name +

+ +
 
+
+ + + + \ No newline at end of file diff --git a/app/templates/email/email_template_2.html b/app/templates/email/email_template_2.html new file mode 100644 index 000000000..731959d11 --- /dev/null +++ b/app/templates/email/email_template_2.html @@ -0,0 +1,95 @@ + + + + + + Page title + + + + + + + + + + + +
+ + + + +
+ + GOV.UK +
+
+ + + + + + +
+

+ This is the page title +

+ +

+ Dear A Name, +

+ +

+ This is the first paragraph. +

+ +

+ This is the second paragraph. It is longer than the first and wraps on to two lines. +

+ +

+ This paragraph includes a line-break:
+ This is the line after the line-break. +

+ +

+ This is an inset paragraph used for data or callouts
+ Application reference: 123456789
+ Date received: 15 March 2015
+

+ +

+ Second level heading

+

+ Third level heading +

+

+ Intro before a url: + + www.gov.uk/service-start-page +

+ +

+ Department or agency name +

+
+ + + + + \ No newline at end of file