{% load file_tags %} {% load tagging_tags %} {% tags_for_object file as tags %}
{% if file.type == 'image' %} {{ file|truncatechars:123 }} {% elif file.icon %}
{{ file|truncatechars:123 }}
{% endif %}

{{ file.get_name }}

{% trans "Download" %} this {{ file.type }}