{% load i18n l10n wagtailadmin_tags %} {% if collections %} {% endif %} {% if collections %} {% endif %} {% for media_file in media_files %} {% if collections %} {% endif %} {% endfor %}
{% if not is_searching %} {% if ordering == "-title" %} {% elif ordering == "title" %} {% else %}{# ordering by created at, so default to title, asc #} {% endif %} {% trans "Title" %} {% else %} {% trans "Title" %} {% endif %} {% trans "File" %} {% trans "Type" %}{% trans "Collection" %} {% if not is_searching %} {% if ordering == "-created_at" %} {% else %} {% endif %} {% trans "Uploaded" %} {% else %} {% trans "Uploaded" %} {% endif %}
{% if choosing %} {% else %} {% endif %} {% if choosing %} {{ media_file.filename }} {% else %} {{ media_file.filename }} {% endif %} {{ media_file.get_type_display }}{{ media_file.collection.name }}{% human_readable_date media_file.created_at %}