diff options
author | Avi Flax | 2022-12-01 11:56:41 -0500 |
---|---|---|
committer | GitHub | 2022-12-01 09:56:41 -0700 |
commit | a826ae18ea41e44614ce20d5caad9425d76aa60d (patch) | |
tree | ee394d3e64ac12d6ce90c8325cabf33fe414c615 | |
parent | ee9ac29cca27f3fad29ae12696ae715360db6cc7 (diff) | |
download | takahe-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.
-rw-r--r-- | templates/identity/view.html | 13 |
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 %} |