{% extends 'admin/model/list.html' %} {% block model_list_table %}
{% if actions %} {% endif %} {% block list_row_actions_header %} {% if admin_view.column_display_actions %} {% endif %} {% endblock %} {% for c, name in list_columns %} {% set column = loop.index0 %} {% endfor %} {% for row in data %} {% if actions %} {% endif %} {% block list_row_actions_column scoped %} {% if admin_view.column_display_actions %} {% endif %} {% endblock %} {% for c, name in list_columns %} {% endfor %} {% else %} {% endfor %}
  {% if admin_view.is_sortable(c) %} {% if sort_column == column %} {{ name }} {% if sort_desc %} {% else %} {% endif %} {% else %} {{ name }} {% endif %} {% else %} {{ name }} {% endif %}
{% block list_row_actions scoped %} {% for row_action in list_row_actions %} {{ row_action.render_ctx(get_pk_value(row), row) }} {% endfor %} {% endblock %} {% if c == 'state' %} {% if row.state == 'succeeded' %} {{ row.state }} {% elif row.state == 'failed' %} {{ row.state }} {% elif row.state == 'cancelled' %} {{ row.state }} {% elif row.state == 'refunded' %} {{ row.state }} {% elif row.state == 'processing' %} {{ row.state }} {% else %} {{ row.state }} {% endif %} {% elif c == 'merchants_id' %} {{ row.merchants_id }} {% else %} {{ row[c] }} {% endif %}
{{ admin_view.get_empty_list_message() }}
{% endblock %}