{% extends "../page.html" %} {% block title %}{{ file.filename }}{% end block %} {% block main %}
{% if file.is_image() %}

{{ file.filename }}

{% elif file.is_pdf() %}

{{ _("This PDF attachment could not be displayed.") }} {{ _("Click here to download") }}

{% end %} {{ _("Download") }} ({{ format_size(file.size) }}) {% if file.is_image() %}
{{ _("Usage") }}
![](./{{ file.filename }})

{{ _("Or with an optional caption") }}

![](./{{ file.filename }} "{{ _("Caption") }}")
{% end %}
{{ _("Details") }}
{{ _("Filename") }}
{{ file.filename }}
{% if file.author %}
{{ _("Author") }}
{{ file.author }}
{% end %}
{{ _("Uploaded at") }}
{{ locale.format_date(file.created_at) }}
{% if file.deleted_at %}
{{ _("Deleted at") }}
{{ locale.format_date(file.deleted_at) }}
{% end %} {% set revisions = file.get_revisions() %} {% if len(revisions) > 1 %}
{{ _("Other Revisions") }}
{% end %}
{{ _("Delete") }}
{{ _("Delete") }}
{{ _("Upload Newer Revision") }}
{% raw xsrf_form_html() %}
{{ _("Uploading a new file to replaces this one to fix any errata in the current version") }}
{% end block %}