Cloned DMOJ
This commit is contained in:
parent
f623974b58
commit
49dc9ff10c
513 changed files with 132349 additions and 39 deletions
22
templates/newsletter/message/message.html
Normal file
22
templates/newsletter/message/message.html
Normal file
|
@ -0,0 +1,22 @@
|
|||
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
|
||||
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||||
<title>{{ newsletter.title }}: {{ message.title }}</title>
|
||||
</head>
|
||||
<body>
|
||||
{% for article in message.articles.all() %}
|
||||
<div>{{ article.text|safe }}</div>
|
||||
|
||||
{% if article.url %}
|
||||
<div><a href="{{ article.url }}">Read more</a></div>
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
|
||||
<a href="http://{{ site.domain }}{{ url('newsletter_unsubscribe_request', newsletter.slug) }}" style="color:#999;float:right">Unsubscribe</a>
|
||||
{% if submission and submission.publish %}
|
||||
<a href="http://{{ site.domain }}{{ submission.get_absolute_url }}" style="color:#999">Read message online</a>
|
||||
{% endif %}
|
||||
</body>
|
||||
</html>
|
15
templates/newsletter/message/message.txt
Normal file
15
templates/newsletter/message/message.txt
Normal file
|
@ -0,0 +1,15 @@
|
|||
++++++++++++++++++++
|
||||
|
||||
{{ newsletter.title|safe }}: {{ message.title|safe }}
|
||||
|
||||
++++++++++++++++++++
|
||||
|
||||
{% for article in message.articles.all() %}
|
||||
{{ article.title|safe }}
|
||||
{{ article.text|striptags|safe }}
|
||||
|
||||
{% endfor %}
|
||||
|
||||
++++++++++++++++++++
|
||||
|
||||
Unsubscribe: http://{{ site }}{{ url('newsletter_unsubscribe_request', newsletter.slug) }}
|
1
templates/newsletter/message/message_subject.txt
Normal file
1
templates/newsletter/message/message_subject.txt
Normal file
|
@ -0,0 +1 @@
|
|||
{{ message.title|safe }}
|
20
templates/newsletter/message/subscribe.html
Normal file
20
templates/newsletter/message/subscribe.html
Normal file
|
@ -0,0 +1,20 @@
|
|||
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN"
|
||||
"http://www.w3.org/TR/html4/strict.dtd">
|
||||
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||||
<title>Subscription to {{ newsletter.title }}</title>
|
||||
</head>
|
||||
<body>
|
||||
Dear {{ subscription.name }},
|
||||
|
||||
you, or someone in your name requested a subscription to {{ newsletter.title }}.
|
||||
|
||||
If you would like to confirm your subscription, please follow this activation link:
|
||||
http://{{ site.domain }}{{ subscription.subscribe_activate_url }}
|
||||
|
||||
Kind regards,
|
||||
{{ newsletter.sender }}
|
||||
</body>
|
||||
</html>
|
9
templates/newsletter/message/subscribe.txt
Normal file
9
templates/newsletter/message/subscribe.txt
Normal file
|
@ -0,0 +1,9 @@
|
|||
Dear {{ subscription.name|safe }},
|
||||
|
||||
you, or someone in your name requested a subscription to {{ newsletter.title|safe }}.
|
||||
|
||||
If you would like to confirm your subscription, please follow this activation link:
|
||||
http://{{ site.domain }}{{ subscription.subscribe_activate_url }}
|
||||
|
||||
Kind regards,
|
||||
{{ newsletter.sender|safe }}
|
1
templates/newsletter/message/subscribe_subject.txt
Normal file
1
templates/newsletter/message/subscribe_subject.txt
Normal file
|
@ -0,0 +1 @@
|
|||
{{ newsletter.title|safe }} - Confirm subscription
|
20
templates/newsletter/message/unsubscribe.html
Normal file
20
templates/newsletter/message/unsubscribe.html
Normal file
|
@ -0,0 +1,20 @@
|
|||
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN"
|
||||
"http://www.w3.org/TR/html4/strict.dtd">
|
||||
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||||
<title>Unsubscription from {{ newsletter.title }}</title>
|
||||
</head>
|
||||
<body>
|
||||
Dear {{ subscription.name }},
|
||||
|
||||
you, or someone in your name requested unsubscription from {{ newsletter.title }}.
|
||||
|
||||
If you would like to confirm your unsubscription, please follow this activation link:
|
||||
http://{{ site.domain }}{{ subscription.unsubscribe_activate_url }}
|
||||
|
||||
Kind regards,
|
||||
{{ newsletter.sender }}
|
||||
</body>
|
||||
</html>
|
9
templates/newsletter/message/unsubscribe.txt
Normal file
9
templates/newsletter/message/unsubscribe.txt
Normal file
|
@ -0,0 +1,9 @@
|
|||
Dear {{ subscription.name|safe }},
|
||||
|
||||
you, or someone in your name requested unsubscription from {{ newsletter.title|safe }}.
|
||||
|
||||
If you would like to confirm your unsubscription, please follow this activation link:
|
||||
http://{{ site.domain }}{{ subscription.unsubscribe_activate_url }}
|
||||
|
||||
Kind regards,
|
||||
{{ newsletter.sender|safe }}
|
1
templates/newsletter/message/unsubscribe_subject.txt
Normal file
1
templates/newsletter/message/unsubscribe_subject.txt
Normal file
|
@ -0,0 +1 @@
|
|||
{{ newsletter.title|safe }} - Confirm unsubscription
|
20
templates/newsletter/message/update.html
Normal file
20
templates/newsletter/message/update.html
Normal file
|
@ -0,0 +1,20 @@
|
|||
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN"
|
||||
"http://www.w3.org/TR/html4/strict.dtd">
|
||||
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||||
<title>Update of subscription to {{ newsletter.title }}</title>
|
||||
</head>
|
||||
<body>
|
||||
Dear {{ subscription.name }},
|
||||
|
||||
you, or someone in your name requested updating your personal information for {{ newsletter.title }}.
|
||||
|
||||
To make changes to your information in our database, please follow this activation link:
|
||||
http://{{ site.domain }}{{ subscription.update_activate_url }}
|
||||
|
||||
Kind regards,
|
||||
{{ newsletter.sender }}
|
||||
</body>
|
||||
</html>
|
9
templates/newsletter/message/update.txt
Normal file
9
templates/newsletter/message/update.txt
Normal file
|
@ -0,0 +1,9 @@
|
|||
Dear {{ subscription.name|safe }},
|
||||
|
||||
you, or someone in your name requested updating your personal information for {{ newsletter.title|safe }}.
|
||||
|
||||
To make changes to your information in our database, please follow this activation link:
|
||||
http://{{ site.domain }}{{ subscription.update_activate_url }}
|
||||
|
||||
Kind regards,
|
||||
{{ newsletter.sender|safe }}
|
1
templates/newsletter/message/update_subject.txt
Normal file
1
templates/newsletter/message/update_subject.txt
Normal file
|
@ -0,0 +1 @@
|
|||
{{ newsletter.title|safe }} - Update information
|
Loading…
Add table
Add a link
Reference in a new issue