{% load i18n core_tags %} {% with enhanced_actions=action_form.action.field.choices|length %}
{% block actions %} {% block actions-form %} {% for field in action_form %} {% if field.name == "tags" %} {% if cl.opts.model_name != "tag" %} {% include "admin/action_tags.html" with tags_field=field action_choices=action_form.action.field.choices %} {% endif %} {% elif field.name == "folder_destination" %} {% if enhanced_actions >= 11 and not snapshot_action_choices %}{% endif %} {% elif field.name == "action" %} {% if enhanced_actions < 11 or snapshot_action_choices %}{% elif field.label %}{% else %}{{ field }}{% endif %} {% else %} {% if field.label %}{% else %}{{ field }}{% endif %} {% endif %} {% endfor %} {% endblock %} {% block actions-submit %} {% if enhanced_actions < 11 or snapshot_action_choices %}{% endif %} {% if enhanced_actions < 11 or snapshot_action_choices %} {% endif %} {% endblock %} {% block actions-counter %} {% if actions_selection_counter %} 0 / {{ cl.result_list|length|intcomma }} selected {% if cl.display_result_count != None %} {% if cl.result_count_cached %}≈{% endif %}{{ cl.display_result_count|intcomma }}{% if not cl.result_count_exact and not cl.result_count_cached %}+{% endif %} total {% elif cl.full_result_count and cl.full_result_count != cl.result_count %} {{ cl.result_count|intcomma }} filtered / {{ cl.full_result_count|intcomma }} total {% else %} {{ cl.result_count|intcomma }} total {% endif %} {% if cl.result_count != cl.result_list|length %} {% endif %} {% endif %} {% endblock %} {% endblock %}
{% endwith %}