summaryrefslogtreecommitdiff
path: root/design/templates/newsletter/message
diff options
context:
space:
mode:
authorlxf <sng@luxagraf.net>2021-11-06 09:42:47 -0400
committerlxf <sng@luxagraf.net>2021-11-06 09:42:47 -0400
commitd9f51299809bfb6b3ac589b7c42016d0ef240299 (patch)
treeaa5f945e82fdbf1b66aca82fe5122f6ff5a12eb9 /design/templates/newsletter/message
parentdde9914dbbc6cda18ba59024065727c8dc6bcdf4 (diff)
moved templates to top level directory
Diffstat (limited to 'design/templates/newsletter/message')
-rw-r--r--design/templates/newsletter/message/message.html32
-rw-r--r--design/templates/newsletter/message/message.txt15
-rw-r--r--design/templates/newsletter/message/message_subject.txt1
-rw-r--r--design/templates/newsletter/message/subscribe.html20
-rw-r--r--design/templates/newsletter/message/subscribe.txt9
-rw-r--r--design/templates/newsletter/message/subscribe_subject.txt1
-rw-r--r--design/templates/newsletter/message/unsubscribe.html19
-rw-r--r--design/templates/newsletter/message/unsubscribe.txt9
-rw-r--r--design/templates/newsletter/message/unsubscribe_subject.txt1
-rw-r--r--design/templates/newsletter/message/update.html19
-rw-r--r--design/templates/newsletter/message/update.txt9
-rw-r--r--design/templates/newsletter/message/update_subject.txt1
12 files changed, 0 insertions, 136 deletions
diff --git a/design/templates/newsletter/message/message.html b/design/templates/newsletter/message/message.html
deleted file mode 100644
index 8929b67..0000000
--- a/design/templates/newsletter/message/message.html
+++ /dev/null
@@ -1,32 +0,0 @@
-{% load thumbnail i18n %}<!DOCTYPE html>
-
-<html>
-<head>
- <meta charset="utf-8">
- <title>{{ newsletter.title }}: {{ message.title }}</title>
-</head>
-<body>
- <h1>{{ newsletter.title }}</h1>
- <h2>{{ message.title }}</h2>
- {% for article in message.articles.all %}
- <h3>{{ article.title }}</h3>
-
- {% thumbnail article.image "200x200" as image %}
- <img src="http://{{ site.domain }}{{ image.url }}" width="{{ image.width }}" height="{{ image.height }}">
- {% endthumbnail %}
-
- <div>{{ article.text|safe }}</div>
-
- {% if article.url %}
- <div><a href="{{ article.url }}">{% trans "Read more" %}</a></div>
- {% endif %}
- {% endfor %}
-
- <ul>
- {% if submission.publish %}
- <li><a href="http://{{ site.domain }}{{ submission.get_absolute_url }}">{% trans "Read message online" %}</a></li>
- {% endif %}
- <li><a href="http://{{ site.domain }}{% url "newsletter_unsubscribe_request" newsletter.slug %}">{% trans "Unsubscribe" %}</a></li>
- </ul>
-</body>
-</html>
diff --git a/design/templates/newsletter/message/message.txt b/design/templates/newsletter/message/message.txt
deleted file mode 100644
index ffaab98..0000000
--- a/design/templates/newsletter/message/message.txt
+++ /dev/null
@@ -1,15 +0,0 @@
-{% 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 %}
diff --git a/design/templates/newsletter/message/message_subject.txt b/design/templates/newsletter/message/message_subject.txt
deleted file mode 100644
index 00aa450..0000000
--- a/design/templates/newsletter/message/message_subject.txt
+++ /dev/null
@@ -1 +0,0 @@
-{{ newsletter.title }} - {{ message.title }} \ No newline at end of file
diff --git a/design/templates/newsletter/message/subscribe.html b/design/templates/newsletter/message/subscribe.html
deleted file mode 100644
index 088a3d0..0000000
--- a/design/templates/newsletter/message/subscribe.html
+++ /dev/null
@@ -1,20 +0,0 @@
-{% load i18n %}<!DOCTYPE html>
-
-<html>
-<head>
- <meta charset="utf-8">
- <title>{% blocktrans with title=newsletter.title %}Subscription to {{ title }}{% endblocktrans %}
-</title>
-</head>
-<body>
-{% blocktrans with name=subscription.name title=newsletter.title domain=site.domain url=subscription.subscribe_activate_url %}Dear {{ name }},
-
-you, or someone in your name requested a subscription to {{ title }}.
-
-If you would like to confirm your subscription, please follow this activation link:
-http://{{ domain }}{{ url }}
-
-Kind regards,{% endblocktrans %}
-{{ newsletter.sender }}
-</body>
-</html>
diff --git a/design/templates/newsletter/message/subscribe.txt b/design/templates/newsletter/message/subscribe.txt
deleted file mode 100644
index 1f334f2..0000000
--- a/design/templates/newsletter/message/subscribe.txt
+++ /dev/null
@@ -1,9 +0,0 @@
-{% load i18n %}{% blocktrans with name=subscription.name title=newsletter.title domain=site.domain url=subscription.subscribe_activate_url %}Dear {{ name }},
-
-you, or someone in your name requested a subscription to {{ title }}.
-
-If you would like to confirm your subscription, please follow this activation link:
-http://{{ domain }}{{ url }}
-
-Kind regards,{% endblocktrans %}
-{{ newsletter.sender }}
diff --git a/design/templates/newsletter/message/subscribe_subject.txt b/design/templates/newsletter/message/subscribe_subject.txt
deleted file mode 100644
index f61b228..0000000
--- a/design/templates/newsletter/message/subscribe_subject.txt
+++ /dev/null
@@ -1 +0,0 @@
-{% load i18n %}{{ newsletter.title }} - {% trans "Confirm subscription" %}
diff --git a/design/templates/newsletter/message/unsubscribe.html b/design/templates/newsletter/message/unsubscribe.html
deleted file mode 100644
index 4b1a86b..0000000
--- a/design/templates/newsletter/message/unsubscribe.html
+++ /dev/null
@@ -1,19 +0,0 @@
-{% load i18n %}<!DOCTYPE html>
-
-<html>
-<head>
- <meta charset="utf-8">
- <title>{% blocktrans with title=newsletter.title %}Unsubscription from {{ title }}{% endblocktrans %}</title>
-</head>
-<body>
-{% blocktrans with name=subscription.name title=newsletter.title domain=site.domain url=subscription.unsubscribe_activate_url %}Dear {{ name }},
-
-you, or someone in your name requested unsubscription from {{ title }}.
-
-If you would like to confirm your unsubscription, please follow this activation link:
-http://{{ domain }}{{ url }}
-
-Kind regards,{% endblocktrans %}
-{{ newsletter.sender }}
-</body>
-</html>
diff --git a/design/templates/newsletter/message/unsubscribe.txt b/design/templates/newsletter/message/unsubscribe.txt
deleted file mode 100644
index ab31fa5..0000000
--- a/design/templates/newsletter/message/unsubscribe.txt
+++ /dev/null
@@ -1,9 +0,0 @@
-{% load i18n %}{% blocktrans with name=subscription.name title=newsletter.title domain=site.domain url=subscription.unsubscribe_activate_url %}Dear {{ name }},
-
-you, or someone in your name requested unsubscription from {{ title }}.
-
-If you would like to confirm your unsubscription, please follow this activation link:
-http://{{ domain }}{{ url }}
-
-Kind regards,{% endblocktrans %}
-{{ newsletter.sender }}
diff --git a/design/templates/newsletter/message/unsubscribe_subject.txt b/design/templates/newsletter/message/unsubscribe_subject.txt
deleted file mode 100644
index 49c68ef..0000000
--- a/design/templates/newsletter/message/unsubscribe_subject.txt
+++ /dev/null
@@ -1 +0,0 @@
-{% load i18n %}{{ newsletter.title }} - {% trans "Confirm unsubscription" %}
diff --git a/design/templates/newsletter/message/update.html b/design/templates/newsletter/message/update.html
deleted file mode 100644
index e46235d..0000000
--- a/design/templates/newsletter/message/update.html
+++ /dev/null
@@ -1,19 +0,0 @@
-{% load i18n %}<!DOCTYPE html>
-
-<html>
-<head>
- <meta charset="utf-8">
- <title>{% blocktrans with title=newsletter.title %}Update of subscription to {{ title }}{% endblocktrans %}</title>
-</head>
-<body>
-{% blocktrans with name=subscription.name title=newsletter.title domain=site.domain url=subscription.update_activate_url %}Dear {{ name }},
-
-you, or someone in your name requested updating your personal information for {{ title }}.
-
-To make changes to your information in our database, please follow this activation link:
-http://{{ domain }}{{ url }}
-
-Kind regards,{% endblocktrans %}
-{{ newsletter.sender }}
-</body>
-</html>
diff --git a/design/templates/newsletter/message/update.txt b/design/templates/newsletter/message/update.txt
deleted file mode 100644
index aa50b19..0000000
--- a/design/templates/newsletter/message/update.txt
+++ /dev/null
@@ -1,9 +0,0 @@
-{% load i18n %}{% blocktrans with name=subscription.name title=newsletter.title domain=site.domain url=subscription.update_activate_url %}Dear {{ name }},
-
-you, or someone in your name requested updating your personal information for {{ title }}.
-
-To make changes to your information in our database, please follow this activation link:
-http://{{ domain }}{{ url }}
-
-Kind regards,{% endblocktrans %}
-{{ newsletter.sender }}
diff --git a/design/templates/newsletter/message/update_subject.txt b/design/templates/newsletter/message/update_subject.txt
deleted file mode 100644
index 217d5f6..0000000
--- a/design/templates/newsletter/message/update_subject.txt
+++ /dev/null
@@ -1 +0,0 @@
-{% load i18n %}{{ newsletter.title }} - {% trans "Update information" %}