{% extends "admin/dj_file_browser_panel/base.html" %} {% load i18n static dcr_icons %} {% block panel_breadcrumbs %} › {% trans "File Browser" %} › {{ root.name }} {% endblock %} {% block panel_content %} {% trans "Back to directory" %}
{% dcr_icon "layers" %}

{{ file.name }}

{{ file.mime_type }}

{{ file.rel_path }}

{% trans "File information" %}

{% trans "Name" %} {{ file.name }}
{% trans "Path" %} {{ root.path }}/{{ file.rel_path }}
{% trans "Size" %} {{ file.size_display }}
{% trans "Modified" %} {{ file.modified|date:"Y-m-d H:i:s T" }}
{% trans "MIME type" %} {{ file.mime_type }}
{% if file.preview_kind == "embed" %}

{% trans "Preview" %}

{% if file.mime_type == "application/pdf" %} {% else %} {{ file.name }} {% endif %}
{% elif file.preview is not None %}

{% trans "Preview" %}

{% if file.preview_truncated %} {% trans "TRUNCATED" %} {% endif %}
{{ file.preview }}
{% endif %} {% endblock %}