From cf1229d59aae59c1ec2b54679d71ed09dd30ec88 Mon Sep 17 00:00:00 2001 From: mummified-corroding-granny Date: Tue, 24 Jan 2023 03:56:31 +0000 Subject: [PATCH] Stop skipping render of Follow/Unfollow button in user listing because profile is private (#94) As per title "Stop skipping render of Follow/Unfollow button in user listing because profile is private" Happens when browsing through the user listing (at least): * /search/users * /users Seems strange to hide that button in the user listing and not the profile page itself. When profiles are private, there can be some interest in following/unfollowing even without clicking the profile. Tried to search git history but no additional sense was obtained Co-authored-by: Your Name Reviewed-on: https://fsdfsd.net/rDrama/rDrama/pulls/94 Co-authored-by: mummified-corroding-granny Co-committed-by: mummified-corroding-granny --- files/templates/user_listing.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/files/templates/user_listing.html b/files/templates/user_listing.html index b5d21a418..fe1a958d0 100644 --- a/files/templates/user_listing.html +++ b/files/templates/user_listing.html @@ -16,7 +16,7 @@
@{{u.username}}
{% if v %} - {% if v.id != u.id and not u.is_private %} + {% if v.id != u.id %}