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

Club view should as good as profile ones

This commit is contained in:
Pierre-antoine Comby
2020-03-25 16:11:44 +01:00
parent 0ac94547d1
commit ff17f1e877
15 changed files with 375 additions and 258 deletions

View File

@ -0,0 +1,27 @@
{% 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-md-3 mb-4">
{% block profile_info %}
{% endblock %}
</div>
<div class="col-md-9">
{% block profile_content %}
{% endblock %}
</div>
</div>
{% endblock %}
{% block extrajavascript %}
<script>
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");
}
</script>
{% endblock %}