summaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
authorAvi Flax2022-12-01 11:56:41 -0500
committerGitHub2022-12-01 09:56:41 -0700
commita826ae18ea41e44614ce20d5caad9425d76aa60d (patch)
treeee394d3e64ac12d6ce90c8325cabf33fe414c615 /templates
parentee9ac29cca27f3fad29ae12696ae715360db6cc7 (diff)
downloadtakahe-a826ae18ea41e44614ce20d5caad9425d76aa60d.tar.gz
takahe-a826ae18ea41e44614ce20d5caad9425d76aa60d.tar.bz2
takahe-a826ae18ea41e44614ce20d5caad9425d76aa60d.zip
Tweak UI when no posts found for remote identity (#83)
I’ve found the current copy confusing when viewing a remote identity.
Diffstat (limited to 'templates')
-rw-r--r--templates/identity/view.html13
1 files changed, 12 insertions, 1 deletions
diff --git a/templates/identity/view.html b/templates/identity/view.html
index f664736..85a1b08 100644
--- a/templates/identity/view.html
+++ b/templates/identity/view.html
@@ -82,7 +82,18 @@
{% for post in page_obj %}
{% include "activities/_post.html" %}
{% empty %}
- <span class="empty">No posts yet.</a>
+ <span class="empty">
+ {% if identity.local %}
+ No posts yet.
+ {% else %}
+ No posts have been received/retrieved by this server yet.
+
+ {% if identity.profile_uri %}
+ You might find historical posts at
+ <a href="{{ identity.profile_uri }}">their original profile ➔</a>
+ {% endif %}
+ {% endif %}
+ </span>
{% endfor %}
{% if page_obj.has_next %}