{% extends "base.html" %}
{% load static %}
{% load i18n %}
{% load render_table from django_tables2 %}
{% load pretty_money %}

{% 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>
{% 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 %}
