From 79a9f1509c4430f6e65c67e41098ef7aaa227c3f Mon Sep 17 00:00:00 2001
From: Vitaly Takmazov
Date: Thu, 4 Jul 2019 14:31:22 +0300
Subject: Render email using templates
* do not include tracking pixel in pm
* reorganize snapshots layout
* reconfigure pebble to not trim anything
---
src/main/resources/templates/email/html.html | 10 ++++++++++
src/main/resources/templates/email/plaintext.html | 5 +++++
2 files changed, 15 insertions(+)
create mode 100644 src/main/resources/templates/email/html.html
create mode 100644 src/main/resources/templates/email/plaintext.html
(limited to 'src/main/resources/templates')
diff --git a/src/main/resources/templates/email/html.html b/src/main/resources/templates/email/html.html
new file mode 100644
index 00000000..086df532
--- /dev/null
+++ b/src/main/resources/templates/email/html.html
@@ -0,0 +1,10 @@
+{{ messageBody | raw }}
+
+
+--
+
+You are receiving this because you are subscribed to this user, discussion, tag or mentioned.
+Reply to this email directly or
+ {% if msg.mid > 0 %}{% endif %}view it on Juick.
+
+Configure or disable notifications
\ No newline at end of file
diff --git a/src/main/resources/templates/email/plaintext.html b/src/main/resources/templates/email/plaintext.html
new file mode 100644
index 00000000..a0df0038
--- /dev/null
+++ b/src/main/resources/templates/email/plaintext.html
@@ -0,0 +1,5 @@
+{{ messageBody }}
+
+--
+You are receiving this because you are subscribed to this user, discussion, tag or mentioned.
+Reply to this email directly or view it on Juick: {{ messageUrl }}
\ No newline at end of file
--
cgit v1.2.3