{% extends 'website/backoffice/base.html' %} {% load url from future %} {% block bodyclass %}detail-page{% endblock %} {% block buttons %} {% if edit and credit_card %} {% endif %} {% endblock %} {% block content %} {% for field_name, field in object_display %} {% if field %} {% if field_name == 'user' %} {% endif %} {% if field_name == 'Credit Card' %} {% endif %} {% if field_name != 'Credit Card' and field_name != 'user' %} {% endif %} {% endif %} {% endfor %}
{{ field_name|capfirst }}{{ field.profile }}{{ field }}{{ field }}
{% if donation.status == donation.STATUS.unconfirmed and change_status %}
{% csrf_token %} {{ form }}
{% endif %} {% if table.rows %} {% for column in table.columns %} {% endfor %} {% for row in table.rows %} {% for value in row %} {% endfor %} {% endfor %}
Donations
{% if column.sortable %} {% endif %} {{ column }} {% if column.sortable %} {% endif %} {% if column.is_ordered %} {% if column.is_ordered_straight %}
{% else %}
{% endif %} {% endif %}
{% if forloop.counter == 1 %} {{ value }} {% else %} {% if value %} {{ value }} {% else %} – {% endif %} {% endif %}
{% endif %} {% endblock %}