diff --git a/bookwyrm/templates/search_results.html b/bookwyrm/templates/search_results.html index 909b0a253..337e88f87 100644 --- a/bookwyrm/templates/search_results.html +++ b/bookwyrm/templates/search_results.html @@ -14,7 +14,12 @@
{% blocktrans %}No books found for "{{ query }}"{% endblocktrans %}
+{% blocktrans %}No books found for "{{ query }}"{% endblocktrans %}
+ {% if not user.is_authenticated %} ++ {% trans "Log in to import or add books." %} +
+ {% endif %} {% else %}{% blocktrans %}No users found for "{{ query }}"{% endblocktrans %}
@@ -106,7 +111,7 @@{% blocktrans %}No lists found for "{{ query }}"{% endblocktrans %}
diff --git a/bookwyrm/urls.py b/bookwyrm/urls.py index 53ceeaa83..24c80b046 100644 --- a/bookwyrm/urls.py +++ b/bookwyrm/urls.py @@ -43,7 +43,7 @@ urlpatterns = [ re_path("^api/updates/notifications/?$", views.get_notification_count), re_path("^api/updates/stream/(?P