1
0
mirror of https://gitlab.crans.org/bde/nk20 synced 2025-06-23 02:48:22 +02:00

Create base template for member and wei

This commit is contained in:
Alexandre Iooss
2020-08-23 10:06:16 +02:00
parent 1c16d6ef18
commit cbc3e39bd6
21 changed files with 20 additions and 19 deletions

View File

@ -0,0 +1,30 @@
{% extends "base.html" %}
{% load static i18n pretty_money %}
{% load render_table from django_tables2 %}
{# 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>
{% 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 %}