{% blocktranslate count counter=media|length trimmed %} Medium {% plural %} Media {% endblocktranslate %} {% if user|can_add_mlgr %} {% translate 'Add' %} {% endif %}
{% if user|can_add_mlgr %} {% endif %} {% for medium in media %}
#{{ forloop.counter }}
{% endfor %}
{% with 'web/icons/'|add:medium.type|add:'.svg' as icon_path %}{% if user|can_delete:medium %} {% endif %}{% endwith %} {{ medium.title }}