summaryrefslogtreecommitdiffstats
path: root/templates/activities/follows.html
diff options
context:
space:
mode:
authorTyler Kennedy2022-12-04 11:41:41 -0500
committerGitHub2022-12-04 09:41:41 -0700
commit6ce05296b01b1bd177e93b5ea3745fba5a5ff8f2 (patch)
treed589df378639dc8605a9f58b431ed37e0bc67b49 /templates/activities/follows.html
parent45b91e1a0ec3eea6305b7164057ed82845b5a8bb (diff)
downloadtakahe-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.html25
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 %}