From 2f64c87d56650273de4a01115929847a934ef4f0 Mon Sep 17 00:00:00 2001 From: cuom1999 Date: Fri, 12 Apr 2024 00:04:07 -0500 Subject: [PATCH] Fix logged-out user page --- templates/user/user-base.html | 26 ++++++++++++++------------ 1 file changed, 14 insertions(+), 12 deletions(-) diff --git a/templates/user/user-base.html b/templates/user/user-base.html index b7ad984..eb341b5 100644 --- a/templates/user/user-base.html +++ b/templates/user/user-base.html @@ -79,19 +79,21 @@ {% endblock %} {% block js_media %} - + + {% endif %} {% block user_js_media %}{% endblock %} {% endblock %} @@ -102,7 +104,7 @@
- {% if request.user != user.user %} + {% if request.user.is_authenticated and request.profile != user %}
{% csrf_token %}