From 5ce06c565b3079653718064b3dc2e3ca41ecb6e3 Mon Sep 17 00:00:00 2001 From: Aevann Date: Tue, 17 Oct 2023 15:28:17 +0300 Subject: [PATCH] dont show sorting buttons in private profiles --- files/templates/userpage/header.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/files/templates/userpage/header.html b/files/templates/userpage/header.html index 841dffbf5..77dc6e45b 100644 --- a/files/templates/userpage/header.html +++ b/files/templates/userpage/header.html @@ -27,7 +27,7 @@ -{% if "/saved/" not in request.path and "/subscribed/" not in request.path and not path == '' and '/wall/comment/' not in path %} +{% if u.is_visible_to(v) and "/saved/" not in request.path and "/subscribed/" not in request.path and not path == '' and '/wall/comment/' not in path %}