{% load i18n %}
  • {{ attachment.filename|truncatechars:40 }} ({{ attachment.mime_type }}, {{ attachment.size|filesizeformat }}) {% if attachment.mime_type == "text/html" %} {# The link above serves the original source inertly. This one renders it, sanitized. #} {% endif %} {% if attachment.followup.user and request.user == attachment.followup.user %} {% endif %}