+ {% 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 %}
+
- {% include 'snippets/search_result_text.html' with result=result %}
-
- {% endfor %}
-
- {% endif %}
-
-
- {% if request.user.is_authenticated %}
- {% if book_results|slice:":1" and local_results.results %}
-
-
- {% trans "Didn't find what you were looking for?" %}
-
- {% trans "Show results from other catalogues" as button_text %}
- {% include 'snippets/toggle/open_button.html' with text=button_text small=True controls_text="more-results" %}
-
- {% if local_results.results %}
- {% trans "Hide results from other catalogues" as button_text %}
- {% include 'snippets/toggle/close_button.html' with text=button_text small=True controls_text="more-results" %}
- {% endif %}
-
- {% endif %}
-
-
- {% for result_set in book_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 %}
-