final updates

This commit is contained in:
Kenneth Love
2012-02-28 14:29:07 -08:00
parent bbdce3c9af
commit 47e5228114
2 changed files with 2 additions and 18 deletions

View File

@@ -26,6 +26,8 @@
{% endif %}{% endif %}
{% endblock %}
{% block title %} Djrill Status | {% trans "Django site admin" %}{% endblock %}
{% block bodyclass %}change-list{% endblock %}
{% if not is_popup %}
@@ -35,9 +37,7 @@
{% trans "Home" %}
</a>
&rsaquo;
<a href="../">
Djrill
</a>
&rsaquo;
Status
</div>

View File

@@ -71,7 +71,6 @@
{% for header in objects.0.keys %}
<th scope="col">{{ header|capfirst }}</th>
{% endfor %}
<th></th>
</tr>
</thead>
<tbody>
@@ -80,21 +79,6 @@
{% for item in result.values %}
<td>{{ item }}</td>
{% 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>
{% endfor %}
</tbody>