{% load i18n admin_urls static semantic_utils %} {% if cl.search_fields or cl.model_admin.filterset.form.fields %}
{% if cl.search_fields %} {% for pair in cl.params.items %} {% if pair.0 != search_var %}{% endif %} {% endfor %} {% endif %} {% search_fields cl %} {% if show_result_count %} {% blocktrans count counter=cl.result_count %}{{ counter }} result{% plural %}{{ counter }} results{% endblocktrans %} ({% if cl.show_full_result_count %}{% blocktrans with full_result_count=cl.full_result_count %}{{ full_result_count }} total{% endblocktrans %}{% else %}{% trans "Show all" %}{% endif %}) {% endif %}
{% endif %}