summaryrefslogtreecommitdiffstats
path: root/templates/activities/search.html
diff options
context:
space:
mode:
Diffstat (limited to 'templates/activities/search.html')
-rw-r--r--templates/activities/search.html23
1 files changed, 18 insertions, 5 deletions
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 %}
+ <h2>Posts</h2>
+ <section class="icon-menu">
+ {% for post in results.posts %}
+ {% include "activities/_post.html" %}
+ {% endfor %}
+ </section>
+ {% endif %}
{% if results.hashtags %}
<h2>Hashtags</h2>
<section class="icon-menu">
@@ -26,10 +34,15 @@
{% endfor %}
</section>
{% endif %}
- {% if results and not results.identities and not results.hashtags %}
- <h2>No results (yet)</h2>
- <p>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!</p>
+ {% if results and not results.identities and not results.hashtags and not results.posts %}
+ <h2>No results</h2>
+ <p>
+ We could not find anything matching your query.
+ </p>
+ <p>
+ 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.
+ </p>
{% endif %}
{% endblock %}