diff --git a/apps/member/templates/member/base.html b/apps/member/templates/member/base.html index 9cb4bb6b..b61d869c 100644 --- a/apps/member/templates/member/base.html +++ b/apps/member/templates/member/base.html @@ -2,6 +2,7 @@ {% comment %} SPDX-License-Identifier: GPL-3.0-or-later {% endcomment %} +{% block contenttitle %}{% endblock %} {# Use a fluid-width container #} {% block containertype %}container-fluid{% endblock %} diff --git a/apps/member/templates/member/club_info.html b/apps/member/templates/member/club_info.html index 8dcf5baa..bc76385b 100644 --- a/apps/member/templates/member/club_info.html +++ b/apps/member/templates/member/club_info.html @@ -1,11 +1,12 @@ -{% load i18n static pretty_money perms %} -
-
-

Club {{ club.name }}

-
+{% load i18n pretty_money perms %} + +
+

+ Club {{ club.name }} +

@@ -14,43 +15,45 @@
{{ club.name }}
{% if club.parent_club %} -
{% trans 'Club Parent'|capfirst %}
-
{{ club.parent_club.name }}
+
+ {% trans 'Club Parent'|capfirst %} +
+
{{ club.parent_club.name }}
{% endif %} {% if club.require_memberships %} - {% if club.membership_start %} -
{% trans 'membership start'|capfirst %}
-
{{ club.membership_start }}
- {% endif %} + {% if club.membership_start %} +
{% trans 'membership start'|capfirst %}
+
{{ club.membership_start }}
+ {% endif %} - {% if club.membership_end %} -
{% trans 'membership end'|capfirst %}
-
{{ club.membership_end }}
- {% endif %} + {% if club.membership_end %} +
{% trans 'membership end'|capfirst %}
+
{{ club.membership_end }}
+ {% endif %} - {% if club.membership_duration %} -
{% trans 'membership duration'|capfirst %}
-
{{ club.membership_duration }} {% trans "days" %}
- {% endif %} + {% if club.membership_duration %} +
{% trans 'membership duration'|capfirst %}
+
{{ club.membership_duration }} {% trans "days" %}
+ {% endif %} - {% if club.membership_fee_paid == club.membership_fee_unpaid %} -
{% trans 'membership fee'|capfirst %}
-
{{ club.membership_fee_paid|pretty_money }}
- {% else %} -
{% trans 'membership fee (paid students)'|capfirst %}
-
{{ club.membership_fee_paid|pretty_money }}
+ {% if club.membership_fee_paid == club.membership_fee_unpaid %} +
{% trans 'membership fee'|capfirst %}
+
{{ club.membership_fee_paid|pretty_money }}
+ {% else %} +
{% trans 'membership fee (paid students)'|capfirst %}
+
{{ club.membership_fee_paid|pretty_money }}
-
{% trans 'membership fee (unpaid students)'|capfirst %}
-
{{ club.membership_fee_unpaid|pretty_money }}
- {% endif %} +
{% trans 'membership fee (unpaid students)'|capfirst %}
+
{{ club.membership_fee_unpaid|pretty_money }}
+ {% endif %} {% endif %} {% if "note.view_note"|has_perm:club.note %} -
{% trans 'balance'|capfirst %}
-
{{ club.note.balance | pretty_money }}
+
{% trans 'balance'|capfirst %}
+
{{ club.note.balance | pretty_money }}
{% endif %} - +
{% trans 'aliases'|capfirst %}
{{ club.note.alias_set.all|join:", " }}
@@ -59,17 +62,19 @@
{% if not club.weiclub %} - + {% endif %} -
+
\ No newline at end of file diff --git a/apps/member/templates/member/club_picture_update.html b/apps/member/templates/member/club_picture_update.html index 4f72efec..358fdd6e 100644 --- a/apps/member/templates/member/club_picture_update.html +++ b/apps/member/templates/member/club_picture_update.html @@ -1,5 +1,4 @@ {% extends "member/club_detail.html" %} -{% load i18n static pretty_money django_tables2 crispy_forms_tags %} {% block profile_content%} {% include "member/picture_update.html" %} diff --git a/apps/member/templates/member/profile_info.html b/apps/member/templates/member/profile_info.html index 4d92fe7e..3fbf5e3d 100644 --- a/apps/member/templates/member/profile_info.html +++ b/apps/member/templates/member/profile_info.html @@ -1,9 +1,9 @@ {% load i18n pretty_money perms %} -
-
-

{% trans "Account #" %}{{ user_object.pk }}

-
+
+

+ {% trans "Account #" %}{{ user_object.pk }} +

{% if user_object.pk == user_object.pk %} -{% trans 'Manage auth token' %} + + {% trans 'Manage auth token' %} + {% endif %} \ No newline at end of file diff --git a/apps/member/templates/member/profile_picture_update.html b/apps/member/templates/member/profile_picture_update.html index 4be78dc8..c50a8299 100644 --- a/apps/member/templates/member/profile_picture_update.html +++ b/apps/member/templates/member/profile_picture_update.html @@ -1,5 +1,4 @@ {% extends "member/profile_detail.html" %} -{% load i18n static pretty_money django_tables2 crispy_forms_tags %} {% block profile_content%} {% include "member/picture_update.html" %} diff --git a/apps/member/templates/member/profile_update.html b/apps/member/templates/member/profile_update.html index a47a147b..19d97189 100644 --- a/apps/member/templates/member/profile_update.html +++ b/apps/member/templates/member/profile_update.html @@ -3,14 +3,22 @@ {% comment %} SPDX-License-Identifier: GPL-3.0-or-later {% endcomment %} +{% block contenttitle %}{% endblock %} {% block content %} -
- {% csrf_token %} - {{ form|crispy }} - {{ profile_form|crispy }} - -
-{% endblock %} +
+

+ {{ title }} +

+
+
+ {% csrf_token %} + {{ form | crispy }} + {{ profile_form | crispy }} + +
+
+
+{% endblock %} \ No newline at end of file