{% extends 'search/layout.html' %} {% load i18n %} {% block panel %} {% if results %} {% with results|first as local_results %} {% endwith %}
{% for result_set in results|slice:"1:" %} {% if result_set.results %}
{% if not result_set.connector.local %}
{% trans "Show" as button_text %} {% include 'snippets/toggle/open_button.html' with text=button_text small=True controls_text="more-results-panel" controls_uid=result_set.connector.identifier class="is-small" icon="arrow-down" pressed=forloop.first %}
{% endif %}
{% trans "Close" as button_text %} {% include 'snippets/toggle/toggle_button.html' with label=button_text class="delete" nonbutton=True controls_text="more-results-panel" controls_uid=result_set.connector.identifier pressed=forloop.first %}
    {% for result in result_set.results %}
  • {% include 'snippets/search_result_text.html' with result=result remote_result=True %}
  • {% endfor %}
{% endif %} {% endfor %}
{% endif %}

{% if request.user.is_authenticated %} {% if not remote %} {% trans "Load results from other catalogues" %} {% else %} {% trans "Manually add book" %} {% endif %} {% else %} {% trans "Log in to import or add books." %} {% endif %}

{% endblock %}