diff --git a/fedireads/templates/user.html b/fedireads/templates/user.html index a71a565e7..79605dbef 100644 --- a/fedireads/templates/user.html +++ b/fedireads/templates/user.html @@ -25,12 +25,25 @@ {% for follower in user.followers.all %}
{{ follower.username }} - {% if not request.user in follower.followers.all %} + {% if not request.user in follower.followers.all and request.user != follower %} {% include 'snippets/follow_button.html' with user=follower %} {% endif %}
{% endfor %} + +
+

Following

+ {% for following in user.following.all %} +
+ {{ following.username }} + {% if not request.user in following.followers.all and request.user != following %} + {% include 'snippets/follow_button.html' with user=following %} + {% endif %} +
+ {% endfor %} +
+