mirror of
				https://gitlab.crans.org/bde/nk20
				synced 2025-11-04 09:12:11 +01:00 
			
		
		
		
	Don't display "change password" button on other profile pages
This commit is contained in:
		@@ -17,7 +17,7 @@
 | 
			
		||||
            <dt class="col-xl-6">{% trans 'username'|capfirst %}</dt>
 | 
			
		||||
            <dd class="col-xl-6">{{ user_object.username }}</dd>
 | 
			
		||||
 | 
			
		||||
            {% if user_object.pk == user_object.pk %}
 | 
			
		||||
            {% if user_object.pk == user.pk %}
 | 
			
		||||
                <dt class="col-xl-6">{% trans 'password'|capfirst %}</dt>
 | 
			
		||||
                <dd class="col-xl-6">
 | 
			
		||||
                    <a class="small" href="{% url 'password_change' %}">
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user