Skip to content
Snippets Groups Projects
Commit 342d3910 authored by me5na7qbjqbrp's avatar me5na7qbjqbrp
Browse files

Set fluid container on parent template

parent 2c1cf148
No related branches found
No related tags found
3 merge requests!104Beta,!98Morefront,!96More front
{% 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 %}
\ No newline at end of file
{% 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 %}
\ No newline at end of file
{% extends "member/noteowner_detail.html" %}
{# Use a fluid-width container #}
{% block containertype %}container-fluid{% endblock %}
{% block profile_info %}
{% include "member/profile_info.html" %}
{% endblock %}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment