{% load i18n l10n %} {% load admin_urls static admin_list filermedia filer_tags %}
{% if paginator.count and not select_folder and not is_popup %}{% endif %} | {% trans 'Name' %} | |||
---|---|---|---|---|
{% if select_folder and item.file_type == 'Folder' %} {% else %} {% if action_form and item.pk and not is_popup %} {% endif %} {% endif %} |
|
{% if item.file_type == 'Folder' and item_perms.change %}
{% endif %}
{{ subfolder.name }}
{% if not subfolder.is_root %} ({% blocktrans count subfolder.children_count as counter %}1 folder{% plural %}{{ counter }} folders{% endblocktrans %}, {% blocktrans count subfolder.file_count as counter %}1 file{% plural %}{{ counter }} files{% endblocktrans %}){% endif %}
{% trans "Owner" %}: {{ subfolder.owner|default:"n/a" }}
|
||
{% if is_popup and not select_folder %} {% else %} {% if action_form and not is_popup %} {% endif %} {% endif %} | {% if item_perms.change %}
![]() |
{% if item_perms.change %}
{% endif %}
{% if item_perms.change %}{{ file.label }}{% else %}{{ file.label }}{% endif %} ({{ file.size|filesize:"auto1000long" }}{% ifequal file.file_type "Image" %}, {{ file.width }}x{{ file.height }} px{% endifequal %})
{% trans "Owner" %}: {{ file.owner|default:"n/a" }}
{% if enable_permissions %}
{% trans "Permissions" %}: {% if file.is_public %}{% trans "disabled" %}{% else %}{% trans "enabled" %}{% endif %}
{% endif %}
{# {% if file.has_all_mandatory_data %}![]() ![]() |
||
{% trans "there are no files or subfolders" %} |
{% if paginated_items.has_previous %} {% trans "previous" %} {% endif %} {% blocktrans with paginated_items.number as number and paginated_items.paginator.num_pages as num_pages %} Page {{ number }} of {{ num_pages }}. {% endblocktrans %} {% if paginated_items.has_next %} {% trans "next" %} {% endif %}