{% 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" %} {{ field }} {% if enhanced_actions < 11 %} {% for value, label in action_form.action.field.choices %} {% if value == 'add_tags' or value == 'remove_tags' %} {% endif %} {% endfor %} {% endif %} {% elif field.name == "folder_destination" %} {% if enhanced_actions >= 11 %}{% endif %} {% elif field.name == "action" and enhanced_actions < 11 %} {% else %} {% if field.label %}{% else %}{{ field }}{% endif %} {% endif %} {% endfor %} {% endblock %} {% block actions-submit %} {% if enhanced_actions < 11 %}{% endif %} {% if enhanced_actions < 11 %} {% 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 %}