{% extends "dashboard_app/base.html" %} {% load i18n %} {% load humanize %} {% block title %} {{ block.super }} | {% trans "Attachment" %} | {{ attachment.pk }} {% endblock %} {% block breadcrumbs %} {{ block.super }}
  • {{ attachment }}
  • {% endblock %} {% block sidebar %}

    {% trans "Attachment Information" %}

    {% trans "Pathname" %}
    {{ attachment.content_filename }}
    {% trans "MIME type"%}
    {{ attachment.mime_type }}
    {% trans "Stored in dashboard" %}
    {{ attachment.content|yesno }}
    {% if attachment.content %}
    {% trans "File size" %}
    {{ attachment.content.size|filesizeformat }}
    {% endif %}
    {% trans "Stored on 3rd party server" %}
    {{ attachment.public_url|yesno }}
    {% trans "Public URL" %}
    {{ attachment.public_url }}
    {% endblock %} {% block content %} {% if lines %}

    Inline viewer

      {% for line in lines %}
    1. {{line}}
    2. {% endfor %}
    {% else %}

    Viewer not available

    {% endif %} {% endblock %}