summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--app/lttr/mailer.py1
-rw-r--r--app/lttr/templates/lttr/emails/test-range_html_email.html2
2 files changed, 2 insertions, 1 deletions
diff --git a/app/lttr/mailer.py b/app/lttr/mailer.py
index 9ddcfa0..40f1003 100644
--- a/app/lttr/mailer.py
+++ b/app/lttr/mailer.py
@@ -40,6 +40,7 @@ class SendShit():
status.status=1
if self.verbose==1:
print("successfully sent %s the newsletter mailing %s"%(subscriber, self.mailing))
+ status.save()
else:
# not new, check if error and resend or just continue
if status.status == 2:
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 e4048bc..bd0b3e3 100644
--- a/app/lttr/templates/lttr/emails/test-range_html_email.html
+++ b/app/lttr/templates/lttr/emails/test-range_html_email.html
@@ -189,7 +189,7 @@ ul li, ol li {
<br style="margin-top:0;margin-bottom:0;margin-right:0;margin-left:0;padding-top:0;padding-bottom:0;padding-right:0;padding-left:0;" />
<br style="margin-top:0;margin-bottom:0;margin-right:0;margin-left:0;padding-top:0;padding-bottom:0;padding-right:0;padding-left:0;" />
- 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: <a href="{{object.get_absolute_url}}"{{object.get_absolute_url}}</a>
+ 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: <a href="{{object.get_absolute_url}}">{{object.get_absolute_url}}</a>
<hr style="padding-top:0;padding-bottom:0;padding-right:0;padding-left:0;width:50%;margin-top:40px;margin-bottom:40px;margin-right:auto;margin-left:auto;border-width:0;border-top-width:1px;border-top-style:solid;border-top-color:#ddd;" />
</td>