diff options
author | luxagraf <sng@luxagraf.net> | 2020-02-05 16:18:53 -0500 |
---|---|---|
committer | luxagraf <sng@luxagraf.net> | 2020-02-05 16:18:53 -0500 |
commit | 33209aed7c3e858d95576bdcfefa17c3f5d7597b (patch) | |
tree | 08e6877551da29c0b645208c9e9e806c4624cd42 /design/templates/newsletter/message/message.txt | |
parent | 932a69ba325fab012630313edcfe697e93d340d7 (diff) |
migrated newsletter templates and updated mailing model
Diffstat (limited to 'design/templates/newsletter/message/message.txt')
-rw-r--r-- | design/templates/newsletter/message/message.txt | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/design/templates/newsletter/message/message.txt b/design/templates/newsletter/message/message.txt new file mode 100644 index 0000000..ffaab98 --- /dev/null +++ b/design/templates/newsletter/message/message.txt @@ -0,0 +1,15 @@ +{% load i18n %}++++++++++++++++++++ + +{{ newsletter.title }}: {{ message.title }} + +++++++++++++++++++++ + +{% for article in message.articles.all %} +{{ article.title }} +{{ article.text|striptags|safe }} + +{% endfor %} + +++++++++++++++++++++ + +{% trans "Unsubscribe:" %} http://{{ site }}{% url "newsletter_unsubscribe_request" newsletter.slug %} |