{# vim: set ts=2 et sts=2 sw=2: #} {% extends "wiki/base.html" %} {# L10n: {n} is the revision number, {t} is the title of the document. {c} is the category. #} {% set title = _('Attachment {n} | {t}')|f(n=revision.id, t=attachment.title) %} {% block title %}{{ page_title(title) }}{% endblock %} {% set meta = [('robots', 'noindex, nofollow')] %} {% set classes = 'document' %} {% block content %}

{{ attachment.title }}

{{ _('Attachment Information') }}
  • {{ _('Revision slug:') }} {{ revision.slug }}
  • {{ _('Revision title:') }} {{ revision.title }}
  • {{ _('Revision id:') }} {{ revision.id }}
  • {{ _('Created:') }} {{ datetimeformat(revision.created, format='datetime') }}
  • {{ _('Creator:') }} {{ revision.creator }}
  • {{ _('MIME Type:') }} {{ revision.mime_type }}
  • {{ _('MIME Type:') }} {{ _('%s bytes') % attachment.size }}
  • {% if revision.reviewed %}
  • {{ _('Reviewed:') }} {{ datetimeformat(revision.reviewed, format='datetime') }}
  • {{ _('Reviewed by:') }} {{ revision.reviewer }}
  • {{ _('Is approved?') }} {{ revision.is_approved|yesno }}
  • {{ _('Is current revision?') }} {{ (revision == attachment.current_revision)|yesno }}
  • {% endif %}
{{ _('Attachment Preview') }}
Image thumbnail or document content here
{% endblock %}