diff options
author | Tyler Kennedy | 2022-12-04 11:41:41 -0500 |
---|---|---|
committer | GitHub | 2022-12-04 09:41:41 -0700 |
commit | 6ce05296b01b1bd177e93b5ea3745fba5a5ff8f2 (patch) | |
tree | d589df378639dc8605a9f58b431ed37e0bc67b49 /templates/activities/follows.html | |
parent | 45b91e1a0ec3eea6305b7164057ed82845b5a8bb (diff) | |
download | takahe-6ce05296b01b1bd177e93b5ea3745fba5a5ff8f2.tar.gz takahe-6ce05296b01b1bd177e93b5ea3745fba5a5ff8f2.tar.bz2 takahe-6ce05296b01b1bd177e93b5ea3745fba5a5ff8f2.zip |
Make follows a top-level activity. (#94)
Diffstat (limited to 'templates/activities/follows.html')
-rw-r--r-- | templates/activities/follows.html | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/templates/activities/follows.html b/templates/activities/follows.html new file mode 100644 index 0000000..6116dd6 --- /dev/null +++ b/templates/activities/follows.html @@ -0,0 +1,25 @@ +{% extends "base.html" %} + +{% block subtitle %}Follows{% endblock %} + +{% block content %} + <section class="icon-menu"> + {% for identity, details in identities %} + <a class="option" href="{{ identity.urls.view }}"> + <img src="{{ identity.local_icon_url }}"> + <span class="handle"> + {{ identity.name_or_handle }} + <small>@{{ identity.handle }}</small> + </span> + {% if details.outbound %} + <span class="pill">Following</span> + {% endif %} + {% if details.inbound %} + <span class="pill">Follows You</span> + {% endif %} + </a> + {% empty %} + <p class="option empty">You have no follows.</p> + {% endfor %} + </section> +{% endblock %} |