{% extends "base.html" %} {% from "_macros.html" import kind_icon, copy_button %} {% set nav = "items" %} {% set file_url = "/item/" ~ entry.kind ~ "/" ~ entry.id ~ "/file" %} {% block title %}{{ entry.reference }} · ezMM{% endblock %} {% block content %}
{% if not file_exists %}
{{ kind_icon(entry.kind) }} File missing
{% elif entry.kind == 'image' %} {{ entry.reference }} {% elif entry.kind == 'video' and not audio_only %} {% elif entry.kind == 'audio' or audio_only %}
{{ kind_icon(entry.kind) }}
{% else %}
{{ kind_icon(entry.kind) }} {{ entry.suffix or 'FILE' }} Download · {{ entry.size | size }}
{% endif %}
{% endblock %}