{% load i18n unfold unfold_extra_alias_tags %} {% comment %} Unfold-styled usage listing, shared by the alias usage view and the delete confirmation. Context comes from djangocms_alias.utils.get_alias_usage_context. {% endcomment %} {% alias_usage_table objects_list hidden_usages as usage_table %} {% if usage_table.rows %} {% component "unfold/components/table.html" with table=usage_table striped=1 %}{% endcomponent %}
{% blocktrans count counter=objects_list|length %}{{ counter }} object{% plural %}{{ counter }} objects{% endblocktrans %}{% if hidden_usages %}, {% blocktrans count counter=hidden_usages|length %}{{ counter }} hidden usage{% plural %}{{ counter }} hidden usages{% endblocktrans %}{% endif %}
{% else %}{% trans 'This alias is not used by any object.' %}
{% endif %}