From 277c0c4bfe67b3202542f2c8e5ec12580aad7052 Mon Sep 17 00:00:00 2001 From: Mouse Reeve Date: Mon, 2 Nov 2020 08:48:58 -0800 Subject: [PATCH] Hide search results from external datasources --- bookwyrm/templates/search_results.html | 72 ++++++++++++++++++-------- 1 file changed, 51 insertions(+), 21 deletions(-) diff --git a/bookwyrm/templates/search_results.html b/bookwyrm/templates/search_results.html index bd5096fe..6c712349 100644 --- a/bookwyrm/templates/search_results.html +++ b/bookwyrm/templates/search_results.html @@ -3,30 +3,60 @@

Matching Books

- {% for result_set in book_results %} - {% if result_set.results %} -
- {% if not result_set.connector.local %} -

- Results from {% if result_set.connector.name %}{{ result_set.connector.name }}{% else %}{{ result_set.connector.identifier }}{% endif %} -

- {% endif %} - +
+
- {% endif %} - {% endfor %} - {% if not book_results %} -

No books found for "{{ query }}"

- {% endif %} + +
+

+ Didn't find what you were looking for? +

+ + + +
+ + +

Matching Users