{% extends "wiki/article.html" %} {% load wiki_tags i18n humanize %} {% load url from future %} {% block pagetitle %}{% trans "Attachments" %}: {{ article.current_revision.title }}{% endblock %} {% block wiki_contents_tab %}
{% trans "You can reuse files from other articles. These files are subject to updates on other articles which may or may not be a good thing." %}
{{ attachment.current_revision.description }}
{% trans "Markdown tag" %} | {% trans "Uploaded by" %} | {% trans "Size" %} | {% trans "File History" %} | {% if attachment|can_write:user %} {% if not attachment.current_revision.deleted %} {% if attachment.article = article %} {% trans "Delete" %} {% else %} {% trans "Detach" %} {% endif %} {% trans "Replace" %} {% else %} {% if attachment.current_revision.previous_revision.id %} {% endif %} {% endif %} {% endif %} |
---|---|---|---|---|
[attachment:{{ attachment.id }}] |
{% if attachment.current_revision.user %}{{ attachment.current_revision.user }}{% else %}{% if user|is_moderator %}{{ attachment.current_revision.ip_address|default:"anonymous (IP not logged)" }}{% else %}{% trans "anonymous (IP logged)" %}{% endif %}{% endif %} | {{ attachment.current_revision.get_size|filesizeformat }} | {% trans "File history" %} ({{ attachment.attachmentrevision_set.all.count }} {% trans "revisions" %}) |
{% trans "There are no attachments for this article." %}
{% endfor %}