You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
39 lines
972 B
HTML
39 lines
972 B
HTML
{% extends "admin/base_site.html" %}
|
|
{% load i18n %}
|
|
{% load static %}
|
|
|
|
{% block content %}
|
|
<link rel="stylesheet" type="text/css" href="{% static 'admin/style.css' %}" />
|
|
<p>{% trans "Do you really want to send these mails?" %}</p>
|
|
<ul>
|
|
{% for mail in mails %}
|
|
<li>
|
|
{{mail.subject}}
|
|
{% if mail.sent %}
|
|
({% trans "already sent" %})
|
|
{%endif %}
|
|
</li>
|
|
{% endfor %}
|
|
</ul>
|
|
{% if some_sent %}
|
|
<p><b>{% trans "Some messages have already been sent! Do you really want to resend them?" %}</b></p>
|
|
{% endif %}
|
|
|
|
<form action="" method="post">
|
|
{% csrf_token %}
|
|
|
|
<input type="hidden" name="confirmed" value="yes">
|
|
<input type="hidden" name="action" value="send_message">
|
|
{% for id in ids %}
|
|
<input type="hidden" name="{{ action_checkbox_name }}" value="{{ id.0 }}">
|
|
{% endfor %}
|
|
<input type="submit" value={% trans "Send" %}>
|
|
</form>
|
|
|
|
<form action="" method="post" class="cancel">
|
|
{% csrf_token %}
|
|
<input type="submit" value={% trans "Cancel" %}>
|
|
</form>
|
|
|
|
{% endblock %}
|