mirror of
				https://gitlab.crans.org/bde/nk20
				synced 2025-11-04 01:12:08 +01:00 
			
		
		
		
	Member templates inherit from member/base.html
This commit is contained in:
		@@ -2,22 +2,6 @@
 | 
			
		||||
{% load render_table from django_tables2 %}
 | 
			
		||||
{% load crispy_forms_tags %}
 | 
			
		||||
 | 
			
		||||
{% block profile_info %}
 | 
			
		||||
    {% if note.club.weiclub %}
 | 
			
		||||
        {% with club=note.club.weiclub %}
 | 
			
		||||
            {% include "wei/weiclub_info.html" %}
 | 
			
		||||
        {% endwith %}
 | 
			
		||||
    {% elif note.club %}
 | 
			
		||||
        {% with club=note.club %}
 | 
			
		||||
            {% include "member/club_info.html" %}
 | 
			
		||||
        {% endwith %}
 | 
			
		||||
    {% elif note.user %}
 | 
			
		||||
        {% with user_object=note.user %}
 | 
			
		||||
            {% include "member/profile_info.html"  %}
 | 
			
		||||
        {% endwith %}
 | 
			
		||||
    {% endif %}
 | 
			
		||||
{% endblock %}
 | 
			
		||||
 | 
			
		||||
{% block profile_content %}
 | 
			
		||||
    {% crispy form %}
 | 
			
		||||
{% endblock %}
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user