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/subscription_unsubscribe_user.html | |
parent | 932a69ba325fab012630313edcfe697e93d340d7 (diff) |
migrated newsletter templates and updated mailing model
Diffstat (limited to 'design/templates/newsletter/subscription_unsubscribe_user.html')
-rw-r--r-- | design/templates/newsletter/subscription_unsubscribe_user.html | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/design/templates/newsletter/subscription_unsubscribe_user.html b/design/templates/newsletter/subscription_unsubscribe_user.html new file mode 100644 index 0000000..5bc81dc --- /dev/null +++ b/design/templates/newsletter/subscription_unsubscribe_user.html @@ -0,0 +1,27 @@ +{% extends "newsletter/common.html" %} + +{% load i18n %} + +{% block title %}{% trans "Newsletter unsubscribe" %}{% endblock title %} + +{% block body %} +<h1>{% trans "Newsletter unsubscribe" %} {{ newsletter.title }}</h1> + +<p>Welcome, {{ user }}!</p> + +{% if messages %} +<ul> + {% for message in messages %} + <li>{{ message }}</li> + {% endfor %} +</ul> +{% else %} + +{% trans "Do you want to unsubscribe from this newsletter?" %} +<form enctype="multipart/form-data" method="post" action="{% url "newsletter_unsubscribe_confirm" newsletter.slug %}"> + {% csrf_token %} + <p><input id="id_submit" name="submit" value="{% trans "Unsubscribe" %}" type="submit" /></p> +</form> +{% endif %} + +{% endblock body %} |