{% extends "wagtailadmin/generic/index_results.html" %}
{% load i18n %}
{% block no_results_message %}
    {% if is_searching %}
        <p role="alert">{% blocktrans trimmed %}Sorry, no promoted results match "<em>{{ query_string }}</em>"{% endblocktrans %}</p>
    {% else %}
        {% url 'wagtailsearchpromotions:add' as wagtailsearchpromotions_add_url %}
        <p>{% blocktrans trimmed %}No promoted results have been created. Why not <a href="{{ wagtailsearchpromotions_add_url }}">add one</a>?{% endblocktrans %}</p>
    {% endif %}
{% endblock %}
