diff --git a/templates/member/club_tables.html b/templates/member/club_tables.html index 32be9bd4..e937fbe9 100644 --- a/templates/member/club_tables.html +++ b/templates/member/club_tables.html @@ -1,23 +1,27 @@ {% load render_table from django_tables2 %} {% load i18n %} -
-
- - {% trans "Member of the Club" %} - -
+{% if member_list.data %} +
+ {% render_table member_list %} -
- -
- -
- + +
+{% endif %} + +{% if history_list.data %} +
+
{% render_table history_list %}
-
+
+{% endif %} diff --git a/templates/member/noteowner_detail.html b/templates/member/noteowner_detail.html index fc781549..2a377140 100644 --- a/templates/member/noteowner_detail.html +++ b/templates/member/noteowner_detail.html @@ -6,11 +6,11 @@ {% block content %}
-
+
{% block profile_info %} {% endblock %}
-
+
{% block profile_content %} {% endblock %}
diff --git a/templates/wei/weiclub_detail.html b/templates/wei/weiclub_detail.html index 7ccd8dea..72c70aa5 100644 --- a/templates/wei/weiclub_detail.html +++ b/templates/wei/weiclub_detail.html @@ -5,14 +5,14 @@ {% endblock %} {% block profile_content %} -{% include "member/club_tables.html" %} +{% include "wei/weiclub_tables.html" %} {% endblock %} {% block extrajavascript %}