From b0dceed07ed475093e56b03c038fbcbcabf70cec Mon Sep 17 00:00:00 2001 From: Aevann Date: Sun, 3 Mar 2024 03:53:20 +0200 Subject: [PATCH] better if syntax --- 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 1c416a065..18edf23e3 100644 --- a/files/templates/userpage/header.html +++ b/files/templates/userpage/header.html @@ -27,7 +27,7 @@ -{% 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 %} +{% if u.is_visible_to(v) and "/saved/" not in request.path and "/subscribed/" not in request.path and path != '' and '/wall/comment/' not in path %}
{{- macros.time_filter_buttons() -}}