{% extends "webui/files/base.html" %} {% load thumbnail webui_tags %} {% block title %}{{ entity.title }}{% endblock %} {% block breadcrumbs %}{{ block.super }} {% breadcrumbs file %} {% endblock breadcrumbs %} {% block content %}

{{ file.basename }}

{% if username and models_valid %} {% if entity.locked or collection.locked or collection.repo_behind or collection.repo_conflicted %}

{% 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 %}

Delete Edit

{% endif %} {% endif %}{#username #} {% if file.access_present %}
{% thumbnail file.access_abs "500x500" crop="center" as img %} {% empty %}

No image

{% endthumbnail %}
{% endif %}
{% for lv in file.labels_values %} {% if lv.value %}
{{ lv.label }}
{{ lv.value|safe|linebreaks }}
{% endif %} {% endfor %}
role

{{ file.role }}

original name

{{ file.basename_orig }}

size

{{ file.size|filesizeformat }}

MD5

{{ file.md5 }}

SHA1

{{ file.sha1 }}

SHA256

{{ file.sha256 }}

path_abs

{{ file.path_abs }}

access_abs

{{ file.access_abs }}

path_rel

{{ file.path_rel }} {% if file.present %}  •  download fullsize {% else %}  •  download fullsize {% endif %}

access_rel

{{ file.access_rel }} {% if file.access_present %}  •  download access {% else %}  •  download access {% endif %}

xmp

{{ file.xmp }}

links

{% for link in file.links_all %} {{ link }}
{% endfor %}

{% if username %} {% if file.present %}
{% csrf_token %} {{ new_access_form.as_p }}
{% else %} Generate New Access File {% endif %} {% endif %}{#username #} {% if username and models_valid %} {% if entity.locked or collection.locked or collection.repo_behind or collection.repo_conflicted %} {% else %}
{% csrf_token %}
{% csrf_token %}
{% endif %} {% endif %}{#username #} {% if file.model_def_fields_removed %}
{{ file.model_def_fields_removed_msg }}
{% endif %} {% if file.model_def_fields_added %}
{{ file.model_def_fields_added_msg }}
{% endif %} {% if file.model_def_commits_msg %}
{{ file.model_def_commits_msg }}
{% endif %} {% if annex_whereis.whereis %}

Trusted remotes
{% for r in annex_whereis.whereis %} {% endfor %}
{% if r.here %}here{% endif %} {{ r.description }} {{ r.uuid }}

{% endif %} {% if annex_whereis.untrusted %}

UN-trusted remotes
{% for r in annex_whereis.untrusted %} {% endfor %}
{% if r.here %}here{% endif %} {{ r.description }} {{ r.uuid }}

{% endif %}
{% endblock content %}