{% load list_tags %} {% load media_tags %} {% load backend_tags %} {% load url_tags %} {% load text_tags %} {% load attribute_tags %} {% spaceless %}
{% if objects_count == 0 %}
{% include 'cubane/backend/listing/empty.html' %}
{% else %}
{% include 'cubane/backend/listing/columns.html' %}
{% include 'cubane/backend/listing/order.html' %}
{% for obj in objects %}
{% for column in columns %}
{% include 'cubane/backend/listing/listing_cell.html' %}
{% endfor %}
{% if listing_with_image %} {% if obj.is_image_or_preview and obj.has_original_image %} {% include 'cubane/backend/listing/listing_image.html' with image=obj %} {% elif obj.external_image_url and obj.embed_html %} {% include 'cubane/backend/listing/listing_image.html' with image_url=obj.external_image_url %} {% elif obj.external_image_url %} {% include 'cubane/backend/listing/listing_image.html' with image_url=obj.external_image_url %} {% endif %} {% endif %} {% if obj|has_attr:"get_absolute_url" and obj.get_absolute_url %} {% endif %} {% if sortable and is_leaf_folder_view %}
{% endif %}
{% for action in obj.listing_actions %} {{ action.title }} {% endfor %}
{% endfor %}
{% endif %} {% if controls_visible %}
{% include 'cubane/backend/listing/listing_foot.html' %}
{% endif %}
{% endspaceless %}