{% spaceless %} {% load i18n %} {% if file_upload_type %} {% if header %}
{{ header }}
{% endif %}
{% if file_urls %}
{% trans "Files that were uploaded by you:" %}
{% endif %}
{% for file_url, file_description, file_name, show_delete_button in file_urls %}
{% if file_url %} {% if file_upload_type == "image" %} {% if file_description %}
{{ file_description }}:
{% endif %}
{% elif file_upload_type == "pdf-and-image" or file_upload_type == "custom" %} {% if file_description %} {{ file_description }} ( {{file_name}} ) {% else %} {% trans "View the files associated with this submission:" %} #{{ forloop.counter }} {% endif %} {% endif %} {% if enable_delete_files and show_delete_button %} {% endif %} {% endif %}
{% endfor %}
{% if show_warning %}

{% trans "Caution: These files were uploaded by another course learner and have not been verified, screened, approved, reviewed, or endorsed by the site administrator. If you access the files, you do so at your own risk.)" %}

{% endif %}
{% endif %} {% endspaceless %}