{% extends "wagtailadmin/tables/column_header.html" %} {% load wagtailadmin_tags i18n %} {% block after_label %} {% if result_scope == "whole_tree" %} {% if items_count %} {% blocktranslate trimmed with start_index=start_index|intcomma end_index=end_index|intcomma items_count=items_count|intcomma %} {{ start_index }}-{{ end_index }} of {{ items_count }} across entire site. {% endblocktranslate %} {% else %} {% blocktranslate trimmed %} No results across entire site. {% endblocktranslate %} {% endif %} {% blocktranslate trimmed with title=parent_page.get_admin_display_title %}Search in '{{ title }}'{% endblocktranslate %} {% elif result_scope == "parent" %} {% if items_count %} {% blocktranslate trimmed with title=parent_page.get_admin_display_title start_index=start_index|intcomma end_index=end_index|intcomma items_count=items_count|intcomma %} {{ start_index }}-{{ end_index }} of {{ items_count }} in '{{ title }}'. {% endblocktranslate %} {% else %} {% blocktranslate trimmed with title=parent_page.get_admin_display_title %} No results in '{{ title }}'. {% endblocktranslate %} {% endif %} {% translate "Search the whole site" %} {% else %} {% blocktranslate trimmed with start_index=start_index|intcomma end_index=end_index|intcomma items_count=items_count|intcomma %} {{ start_index }}-{{ end_index }} of {{ items_count }} {% endblocktranslate %} {% endif %} {% endblock %}