{% extends "base.html" %} {% block content %}
{% include "partials/repo_heading.html" %} {% set repo_tab = "uploads" %} {% include "partials/repo_tabs.html" %}
Repo uploads
Reset
{% if can_manage_uploads %} Upload file {% endif %}
{% if page.results | length == 0 %}

No uploads found.

{% else %}
{% for upload in page.results %} {% with time_cell_value = upload.created_at, time_cell_class = "text-muted small" %} {% include "partials/relative_time_cell.html" %} {% endwith %} {% endfor %}
Filename Description Type Size Uploader Created Actions
{{ upload.uuid }}
{{ upload.description }} {{ upload.content_type }} {{ upload.size_label }} {% with user_link_href = upload.created_by_href, user_link_username = upload.created_by_username, user_link_label = upload.created_by_name, user_link_class = "text-decoration-none" %} {% include "partials/hover_card_user_link.html" %} {% endwith %}
Download {% if upload.can_manage %} Edit {% if upload.delete_href %}
{% endif %} {% endif %}
{% endif %}
{% with page=page, query=query, per_page_id="repo-uploads-per-page", per_page_form="repo-uploads-filter-form" %} {% include "partials/paging_footer.html" %} {% endwith %}
{% with modal_id="confirm-delete-upload", modal_title="Delete upload", modal_body='Delete ?', modal_confirm_text="Delete upload", modal_desc="This file upload is permanently deleted and cannot be restored." %} {% include "partials/confirm_modal.html" %} {% endwith %} {% endblock %} {% block scripts %} {% endblock %}