From 6ce05296b01b1bd177e93b5ea3745fba5a5ff8f2 Mon Sep 17 00:00:00 2001 From: Tyler Kennedy Date: Sun, 4 Dec 2022 11:41:41 -0500 Subject: Make follows a top-level activity. (#94) --- templates/activities/_menu.html | 3 +++ templates/activities/follows.html | 25 +++++++++++++++++++++++++ templates/settings/_menu.html | 3 --- templates/settings/follows.html | 25 ------------------------- 4 files changed, 28 insertions(+), 28 deletions(-) create mode 100644 templates/activities/follows.html delete mode 100644 templates/settings/follows.html (limited to 'templates') diff --git a/templates/activities/_menu.html b/templates/activities/_menu.html index a912090..4676831 100644 --- a/templates/activities/_menu.html +++ b/templates/activities/_menu.html @@ -18,6 +18,9 @@ Federated + + Follows +

Compose 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 %} +
+ {% for identity, details in identities %} + + + + {{ identity.name_or_handle }} + @{{ identity.handle }} + + {% if details.outbound %} + Following + {% endif %} + {% if details.inbound %} + Follows You + {% endif %} + + {% empty %} +

You have no follows.

+ {% endfor %} +
+{% endblock %} diff --git a/templates/settings/_menu.html b/templates/settings/_menu.html index 8aede68..55c0100 100644 --- a/templates/settings/_menu.html +++ b/templates/settings/_menu.html @@ -6,9 +6,6 @@ Interface - - Follows -

Account

Login & Security diff --git a/templates/settings/follows.html b/templates/settings/follows.html deleted file mode 100644 index 5f43d05..0000000 --- a/templates/settings/follows.html +++ /dev/null @@ -1,25 +0,0 @@ -{% extends "settings/base.html" %} - -{% block subtitle %}Follows{% endblock %} - -{% block content %} -
- {% for identity, details in identities %} - - - - {{ identity.name_or_handle }} - @{{ identity.handle }} - - {% if details.outbound %} - Following - {% endif %} - {% if details.inbound %} - Follows You - {% endif %} - - {% empty %} -

You have no follows.

- {% endfor %} -
-{% endblock %} -- cgit v1.2.3