mirror of
				https://gitlab.crans.org/bde/nk20
				synced 2025-10-31 15:50:03 +01:00 
			
		
		
		
	Set fluid container on parent template
This commit is contained in:
		| @@ -1,8 +1,5 @@ | ||||
| {% extends "member/noteowner_detail.html" %} | ||||
|  | ||||
| {# Use a fluid-width container #} | ||||
| {% block containertype %}container-fluid{% endblock %} | ||||
|  | ||||
| {% block profile_info %} | ||||
| {% include "member/club_info.html" %} | ||||
| {% endblock %} | ||||
| @@ -12,10 +9,10 @@ | ||||
| {% endblock %} | ||||
|  | ||||
| {% block extrajavascript %} | ||||
|     <script> | ||||
|         function refreshHistory() { | ||||
|             $("#history_list").load("{% url 'member:club_detail' pk=object.pk %} #history_list"); | ||||
|             $("#profile_infos").load("{% url 'member:club_detail' pk=object.pk %} #profile_infos"); | ||||
|         } | ||||
|     </script> | ||||
| {% endblock %} | ||||
| <script> | ||||
|     function refreshHistory() { | ||||
|         $("#history_list").load("{% url 'member:club_detail' pk=object.pk %} #history_list"); | ||||
|         $("#profile_infos").load("{% url 'member:club_detail' pk=object.pk %} #profile_infos"); | ||||
|     } | ||||
| </script> | ||||
| {% endblock %} | ||||
| @@ -1,32 +1,32 @@ | ||||
| {% extends "base.html" %} | ||||
| {% load static %} | ||||
| {% load i18n %} | ||||
| {% load static i18n pretty_money %} | ||||
| {% load render_table from django_tables2 %} | ||||
| {% load pretty_money %} | ||||
|  | ||||
| {# Use a fluid-width container #} | ||||
| {% block containertype %}container-fluid{% endblock %} | ||||
|  | ||||
| {% block content %} | ||||
|     <div class="row mt-4"> | ||||
|         <div class="col-xl-4"> | ||||
|             {% block profile_info %} | ||||
|             {% endblock %} | ||||
|         </div> | ||||
|         <div class="col-xl-8"> | ||||
|             {% block profile_content %} | ||||
|             {% endblock %} | ||||
|         </div> | ||||
| <div class="row mt-4"> | ||||
|     <div class="col-xl-4"> | ||||
|         {% block profile_info %} | ||||
|         {% endblock %} | ||||
|     </div> | ||||
|     <div class="col-xl-8"> | ||||
|         {% block profile_content %} | ||||
|         {% endblock %} | ||||
|     </div> | ||||
| </div> | ||||
|  | ||||
|     {% block extra_content %} | ||||
|     {% endblock %} | ||||
| {% block extra_content %}{% endblock %} | ||||
| {% endblock %} | ||||
|  | ||||
| {% block extrajavascript %} | ||||
|     <script> | ||||
|         {% if object %} | ||||
|             function refreshHistory() { | ||||
|                 $("#history_list").load("{% url 'member:user_detail' pk=object.pk %} #history_list"); | ||||
|                 $("#profile_infos").load("{% url 'member:user_detail' pk=object.pk %} #profile_infos"); | ||||
|             } | ||||
|         {% endif %} | ||||
|     </script> | ||||
| {% endblock %} | ||||
| <script> | ||||
|     {% if object %} | ||||
|     function refreshHistory() { | ||||
|         $("#history_list").load("{% url 'member:user_detail' pk=object.pk %} #history_list"); | ||||
|         $("#profile_infos").load("{% url 'member:user_detail' pk=object.pk %} #profile_infos"); | ||||
|     } | ||||
|     {% endif %} | ||||
| </script> | ||||
| {% endblock %} | ||||
| @@ -1,8 +1,5 @@ | ||||
| {% extends "member/noteowner_detail.html" %} | ||||
|  | ||||
| {# Use a fluid-width container #} | ||||
| {% block containertype %}container-fluid{% endblock %} | ||||
|  | ||||
| {% block profile_info %} | ||||
| {% include "member/profile_info.html" %} | ||||
| {% endblock %} | ||||
|   | ||||
		Reference in New Issue
	
	Block a user