2020-04-11 22:06:20 +00:00
|
|
|
{% extends "member/noteowner_detail.html" %}
|
|
|
|
|
|
|
|
{% block profile_info %}
|
|
|
|
{% include "wei/weiclub_info.html" %}
|
|
|
|
{% endblock %}
|
|
|
|
|
|
|
|
{% block profile_content %}
|
2020-04-12 00:07:13 +00:00
|
|
|
{% include "wei/weiclub_tables.html" %}
|
2020-04-11 22:06:20 +00:00
|
|
|
{% endblock %}
|
|
|
|
|
|
|
|
{% block extrajavascript %}
|
|
|
|
<script>
|
|
|
|
function refreshHistory() {
|
2020-04-12 00:07:13 +00:00
|
|
|
$("#history_list").load("{% url 'wei:wei_detail' pk=object.pk %} #history_list");
|
|
|
|
$("#profile_infos").load("{% url 'wei:wei_detail' pk=object.pk %} #profile_infos");
|
2020-04-11 22:06:20 +00:00
|
|
|
}
|
|
|
|
|
2020-08-04 18:04:41 +00:00
|
|
|
$(document).ready(function() {
|
|
|
|
$(".no-perm").parent().addClass("d-none");
|
|
|
|
if ($("a[data-type='validate-membership']:not(.d-none)").length === 0) {
|
|
|
|
$("a[data-type='validate-membership']").parent().addClass("d-none");
|
|
|
|
$("#validate-membership-header").addClass("d-none");
|
|
|
|
}
|
|
|
|
if ($("a[data-type='delete-membership']:not(.d-none)").length === 0) {
|
|
|
|
$("a[data-type='delete-membership']").parent().addClass("d-none");
|
|
|
|
$("#delete-membership-header").addClass("d-none");
|
|
|
|
}
|
|
|
|
});
|
2020-04-11 22:06:20 +00:00
|
|
|
</script>
|
|
|
|
{% endblock %}
|