{% extends "wiki/article.html" %} {% load wiki_tags i18n humanize %} {% block pagetitle %}{% trans "Attachments" %}: {{ article.current_revision.title }}{% endblock %} {% block wiki_contents_tab %}
{% trans "The following files are available for this article. Copy the markdown tag to directly refer to a file from the article text." %}
{{ attachment.current_revision.get_filename }} {{ attachment.current_revision.created|naturaltime }} {% if attachment.current_revision.deleted %} {% trans "deleted" %} {% endif %} |
|||
---|---|---|---|
{% trans "Markdown tag" %} | {% trans "Uploaded by" %} | {% trans "Size" %} |
{% if attachment|can_write:user %}
{% if not attachment.current_revision.deleted %} {% trans "Replace" %} {% if 'attachment.article = article' %} {% trans "Delete" %} {% else %} {% trans "Detach" %} {% endif %} {% else %} {% if attachment.current_revision.previous_revision.id %} {% endif %} {% endif %} {% endif %} |
[attachment:{{ attachment.id }}] |
{% include "wiki/includes/revision_info.html" with revision=attachment.current_revision hidedate=1 hidenumber=1 %} | {{ attachment.current_revision.get_size|filesizeformat }} | |
{% trans "There are no attachments for this article." %} |
{% 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." %}