mirror of
https://github.com/pacnpal/django-anymail.git
synced 2025-12-20 20:01:05 -05:00
final updates
This commit is contained in:
@@ -26,6 +26,8 @@
|
|||||||
{% endif %}{% endif %}
|
{% endif %}{% endif %}
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
||||||
|
{% block title %} Djrill Status | {% trans "Django site admin" %}{% endblock %}
|
||||||
|
|
||||||
{% block bodyclass %}change-list{% endblock %}
|
{% block bodyclass %}change-list{% endblock %}
|
||||||
|
|
||||||
{% if not is_popup %}
|
{% if not is_popup %}
|
||||||
@@ -35,9 +37,7 @@
|
|||||||
{% trans "Home" %}
|
{% trans "Home" %}
|
||||||
</a>
|
</a>
|
||||||
›
|
›
|
||||||
<a href="../">
|
|
||||||
Djrill
|
Djrill
|
||||||
</a>
|
|
||||||
›
|
›
|
||||||
Status
|
Status
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -71,7 +71,6 @@
|
|||||||
{% for header in objects.0.keys %}
|
{% for header in objects.0.keys %}
|
||||||
<th scope="col">{{ header|capfirst }}</th>
|
<th scope="col">{{ header|capfirst }}</th>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
<th></th>
|
|
||||||
</tr>
|
</tr>
|
||||||
</thead>
|
</thead>
|
||||||
<tbody>
|
<tbody>
|
||||||
@@ -80,21 +79,6 @@
|
|||||||
{% for item in result.values %}
|
{% for item in result.values %}
|
||||||
<td>{{ item }}</td>
|
<td>{{ item }}</td>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
<td>
|
|
||||||
{% if result.is_enabled and result.approved_at %}
|
|
||||||
<form method="POST" action="{% url "admin:djrill_disable_sender" %}">
|
|
||||||
{% else %}
|
|
||||||
<form method="POST" action="{% url "admin:djrill_verify_sender" %}">
|
|
||||||
{% endif %}
|
|
||||||
<input type="hidden" name="email" value="{{ result.address }}">
|
|
||||||
{% csrf_token %}
|
|
||||||
{% if result.is_enabled and result.approved_at %}
|
|
||||||
<button>disable</buton>
|
|
||||||
{% else %}
|
|
||||||
<button>enable</buton>
|
|
||||||
{% endif %}
|
|
||||||
</form>
|
|
||||||
</td>
|
|
||||||
</tr>
|
</tr>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
</tbody>
|
</tbody>
|
||||||
|
|||||||
Reference in New Issue
Block a user