Tweak UI when no posts found for remote identity (#83)

I’ve found the current copy confusing when viewing a remote identity.
This commit is contained in:
Avi Flax 2022-12-01 11:56:41 -05:00 committed by GitHub
parent ee9ac29cca
commit a826ae18ea
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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 %}