{% load i18n %}{% comment %}Shown when delete is blocked by post references. Expects: asset, referencing_posts, workspace{% endcomment %}

{% translate "Cannot delete this asset" %}

{% translate "This media is referenced by" %} {{ referencing_posts|length }} {% translate "scheduled post" %}{{ referencing_posts|pluralize }}{% translate ". Remove it from those posts first." %}

{% if referencing_posts %}
    {% for post in referencing_posts %}
  • • {{ post.caption|truncatechars:60 }}
  • {% endfor %}
{% endif %}