From 430036bfc25c53c6877101ffa28a6a51e518ebeb Mon Sep 17 00:00:00 2001 From: Yohann D'ANELLO Date: Sat, 15 Aug 2020 20:59:45 +0200 Subject: [PATCH] Don't display "change password" button on other profile pages --- apps/member/templates/member/profile_info.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/member/templates/member/profile_info.html b/apps/member/templates/member/profile_info.html index 7f979b86..5d849a0a 100644 --- a/apps/member/templates/member/profile_info.html +++ b/apps/member/templates/member/profile_info.html @@ -17,7 +17,7 @@
{% trans 'username'|capfirst %}
{{ user_object.username }}
- {% if user_object.pk == user_object.pk %} + {% if user_object.pk == user.pk %}
{% trans 'password'|capfirst %}