{% load i18n wagtailadmin_tags %} {% if newsitem_results %}
{% if single_result_type %}

{% blocktrans count counter=newsitem_results.0.2.count %} There is one matching news item {% plural %} There are {{ counter }} matching news items {% endblocktrans %}

{% else %}

News search results

{% endif %} {% search_other %}
{% for name, newsitem_perms, newsitem_list in newsitem_results %} {% if not single_newsitem_model %}

{{ name|capfirst }}

{% endif %} {% include "wagtailnews/newsitem_list.html" %} {% endfor %} {% else %}
{% if query_string %}

{% blocktrans %}Sorry, no news items match "{{ query_string }}"{% endblocktrans %}

{% search_other %} {% else %}

{% trans 'Enter a search term above' %}

{% endif %}
{% endif %}