{% load i18n l10n admin_list filer_tags filer_admin_tags static thumbnail %}
{% if paginator.count and not is_popup %} {% endif %} | {% translate "Name" %} | {% translate "Owner" %} | {% translate "Size" %} | {% translate "Action" %} | |
---|---|---|---|---|---|
|
|||||
{% if filer_admin_context.pick_folder and item.file_type == 'Folder' %} {% elif action_form and item.pk and not is_popup %} {% endif %} |
|
{{ subfolder.owner|default:"n/a" }} | {% if not subfolder.is_root %} ({% blocktrans count subfolder.children_count as counter %}{{ counter }} folder{% plural %}{{ counter }} folders{% endblocktrans %}, {% blocktrans count subfolder.file_count as counter %}{{ counter }} file{% plural %}{{ counter }} files{% endblocktrans %}) {% endif %} | {% if subfolder.file_type == "Folder" %} {% endif %} | |
{% if is_popup and filer_admin_context.pick_file %} {% elif action_form and not is_popup %} {% endif %} | {% if is_popup and filer_admin_context.pick_file %} {% elif has_change_permission %} {% endif %} {% file_icon file %} {% if has_change_permission or is_popup and filer_admin_context.pick_file %} {% endif %} |
{% if is_popup and filer_admin_context.pick_file %}
{% elif has_change_permission %}
{% endif %}
{{ file.label }}
{% if has_change_permission or is_popup and filer_admin_context.pick_file %}
{% endif %}
{% if enable_permissions %}
{% translate "Permissions" %}: {% if file.is_public %}{% translate "disabled" %}{% else %}{% translate "enabled" %}{% endif %}
{% endif %}
|
{{ file.owner|default:"n/a" }} | ({{ file.size|filesize:"auto1000long" }}{% if file.file_type == "Image" and file.width > 0.0 and file.height > 0.0 %}, {{ file.width|floatformat }}x{{ file.height|floatformat }} px{% endif %}) | {% if file.canonical_url %} {% endif %} {% if has_change_permission %} {% endif %} | {% endwith %}
{% trans 'Drop files here or use the "Upload Files" button' %} |