From 93ccb5dd32f4e3942d08814e5a86fb30c90c9ff6 Mon Sep 17 00:00:00 2001 From: Andrew Godwin Date: Sun, 4 Dec 2022 21:13:33 -0700 Subject: Make search work with URLs --- templates/activities/search.html | 23 ++++++++++++++++++----- 1 file changed, 18 insertions(+), 5 deletions(-) (limited to 'templates/activities/search.html') diff --git a/templates/activities/search.html b/templates/activities/search.html index 84b2cc7..58964b2 100644 --- a/templates/activities/search.html +++ b/templates/activities/search.html @@ -18,6 +18,14 @@ {% include "activities/_identity.html" %} {% endfor %} {% endif %} + {% if results.posts %} +
No results found — not yet, at least. The search swamphens are still - rooting around behind the scenes and may yet turn something up. If you try your search - again after a moment, you might get lucky!
+ {% if results and not results.identities and not results.hashtags and not results.posts %} ++ We could not find anything matching your query. +
++ If you're trying to find a post or profile on another server, + try again in a few moments - if the other end is overloaded, it + can take some time to fetch the details. +
{% endif %} {% endblock %} -- cgit v1.2.3