From b3072c81ba73a16381366960841b6c294cc1fa6e Mon Sep 17 00:00:00 2001 From: Andrew Godwin Date: Thu, 17 Nov 2022 20:04:01 -0700 Subject: Follows page --- templates/settings/_menu.html | 3 +++ templates/settings/follows.html | 25 +++++++++++++++++++++++++ 2 files changed, 28 insertions(+) create mode 100644 templates/settings/follows.html (limited to 'templates/settings') diff --git a/templates/settings/_menu.html b/templates/settings/_menu.html index cc87941..dd43912 100644 --- a/templates/settings/_menu.html +++ b/templates/settings/_menu.html @@ -6,6 +6,9 @@ Interface + + Follows + {% if request.user.admin %}

Account

diff --git a/templates/settings/follows.html b/templates/settings/follows.html new file mode 100644 index 0000000..5f43d05 --- /dev/null +++ b/templates/settings/follows.html @@ -0,0 +1,25 @@ +{% 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