diff options
author | Vitaly Takmazov | 2019-07-04 14:31:22 +0300 |
---|---|---|
committer | Vitaly Takmazov | 2019-07-04 14:31:22 +0300 |
commit | 79a9f1509c4430f6e65c67e41098ef7aaa227c3f (patch) | |
tree | 8938ab6702c1ce855d4320c715ae09688872b5a8 /src/main/resources | |
parent | 52d88dd00b260c54ba90ab52e283b5b1b1ba851d (diff) |
Render email using templates
* do not include tracking pixel in pm
* reorganize snapshots layout
* reconfigure pebble to not trim anything
Diffstat (limited to 'src/main/resources')
-rw-r--r-- | src/main/resources/templates/email/html.html | 10 | ||||
-rw-r--r-- | src/main/resources/templates/email/plaintext.html | 5 |
2 files changed, 15 insertions, 0 deletions
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 }} +<br /> +<br /> +-- +<br /> +You are receiving this because you are subscribed to this user, discussion, tag or mentioned. +Reply to this email directly or <a href="{{ messageUrl }}"> + {% if msg.mid > 0 %}<img src="https://api.juick.com/thread/mark_read/{{ msg.mid }}-{{ msg.rid }}.gif?hash={{ hash }}" />{% endif %}view it</a> on Juick. +<br /> +<a href="https://juick.com/settings?hash={{ hash }}">Configure or disable notifications</a>
\ 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 |