From 1856a1ff421db78612f5e4b1d8286d577b90689a Mon Sep 17 00:00:00 2001
From: luxagraf
Date: Sun, 9 Jun 2024 09:43:42 -0500
Subject: range: fixed preview templates
---
app/lttr/templates/lttr/emails/test-range_html_email.html | 7 ++-----
app/lttr/templates/lttr/emails/test-range_plain_text_email.txt | 8 ++------
2 files changed, 4 insertions(+), 11 deletions(-)
(limited to 'app/lttr')
diff --git a/app/lttr/templates/lttr/emails/test-range_html_email.html b/app/lttr/templates/lttr/emails/test-range_html_email.html
index d11479c..e68fe19 100644
--- a/app/lttr/templates/lttr/emails/test-range_html_email.html
+++ b/app/lttr/templates/lttr/emails/test-range_html_email.html
@@ -183,13 +183,10 @@ ul li, ol li {
{{object.title|safe|smartypants}}
-
- {% include "lib/friends_featured_img.html" with image=object.featured_image %}
-
- If you'd like to view a larger version, read some backstory, and see a video of the development process in Darktable, head on over to: https://luxagraf.net{{object.post.get_absolute_url}}
+ {{object.body_email_html|safe|smartypants}}
@@ -219,7 +216,7 @@ ul li, ol li {
Shipped from Points Unknown, USA.
- Explained here.
+ Explained here.
If you enjoy this,
please consider forwarding it to a friend.
diff --git a/app/lttr/templates/lttr/emails/test-range_plain_text_email.txt b/app/lttr/templates/lttr/emails/test-range_plain_text_email.txt
index 970c42f..7b8543a 100644
--- a/app/lttr/templates/lttr/emails/test-range_plain_text_email.txt
+++ b/app/lttr/templates/lttr/emails/test-range_plain_text_email.txt
@@ -1,14 +1,10 @@
-Greetings Range subscribers-
-
-While I respect your desire for plain text email, there really isn't a way to do a photo newsletter in plain text other than to say, here's a link to the web-based version:
-
-
+{{ object.email_encode|safe }}
-----
You're getting this email because you signed up for
-Scott Gilbertson's (luxagraf)[https://luxagraf.net/] photo newsletter,
+Scott Gilbertson's (luxagraf)[https://luxagraf.net/] newsletter,
*Range* [https://luxagraf.net/range/]
--
cgit v1.2.3-70-g09d2