diff options
Diffstat (limited to 'design/templates/newsletter/newsletter_detail.html')
-rw-r--r-- | design/templates/newsletter/newsletter_detail.html | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/design/templates/newsletter/newsletter_detail.html b/design/templates/newsletter/newsletter_detail.html new file mode 100644 index 0000000..fe23a1f --- /dev/null +++ b/design/templates/newsletter/newsletter_detail.html @@ -0,0 +1,30 @@ +{% extends "newsletter/common.html" %} + +{% load i18n %} + +{% block title %}{% trans "Newsletter detail" %}{% endblock title %} + +{% block body %} +<table> + <tr> + <th>{% trans "Newsletter" %} {{ object.title }}</th> + </tr> + <tr> + <td><a href="{% url "newsletter_subscribe_request" object.slug %}">{% trans "Subscribe" %}</a></td> + </tr> + {% if not user.is_authenticated %} + <tr> + <td><a href="{% url "newsletter_update_request" object.slug %}">{% trans "Update" %}</a></td> + </tr> + {% endif %} + <tr> + <td><a href="{% url "newsletter_unsubscribe_request" object.slug %}">{% trans "Unsubscribe" %}</a></td> + </tr> + <tr> + <td><a href="{% url "newsletter_archive" object.slug %}">{% trans "Archive" %}</a></td> + </tr> + <tr> + <td><a href="../">{% trans "Back to list" %}</a></td> + </tr> +</table> +{% endblock body %} |