{% extends "webui/entities/base.html" %} {% load bootstrap_pagination thumbnail webui_tags %} {% block title %}files | {{ entity.id }}{% endblock %} {% block breadcrumbs %}{{ block.super }} {% breadcrumbs entity "Files" %} {% endblock breadcrumbs %} {% block content %}
{% if collection.repo_behind %} Editing is disabled until collection is synced. {% endif %} {% if collection.repo_conflicted %} Editing is disabled until merge conflict is resolved. {% endif %}
{% else %}{# locked/conflicted #} {% endif %}{# locked/conflicted #} {% endif %}{# username #} {% if page.object_list %}| {% endif %} | Filename | Label | |
|---|---|---|---|
| {% if entity.locked or collection.locked or collection.repo_behind or collection.repo_conflicted %} Edit Delete {% else %} Edit Delete {% endif %}{# conflicted #} | {% endif %}{#username #}
{% if file.access_present %}
{% thumbnail file.access_abs "100x100" crop="center" as img %}
No image {% endif %}{# file.access_present #} |
{{ file.basename }} ({{ file.size|filesizeformat }}) | {{ file.label }} |