+
@@ -18,12 +18,12 @@
{{ user_object.username }}
{% if user_object.pk == user.pk %}
-
{% trans 'password'|capfirst %}
-
-
- {% trans 'Change password' %}
-
-
+
{% trans 'password'|capfirst %}
+
+
+ {% trans 'Change password' %}
+
+
{% endif %}
{% trans 'section'|capfirst %}
@@ -33,32 +33,39 @@
{{ user_object.email }}
{% trans 'phone number'|capfirst %}
-
{{ user_object.profile.phone_number }}
+
{{ user_object.profile.phone_number }}
{% trans 'address'|capfirst %}
{{ user_object.profile.address }}
{% if "note.view_note"|has_perm:user_object.note %}
-
{% trans 'balance'|capfirst %}
-
{{ user_object.note.balance | pretty_money }}
+
{% trans 'balance'|capfirst %}
+
{{ user_object.note.balance | pretty_money }}
-
{% trans 'paid'|capfirst %}
-
{{ user_object.profile.paid|yesno }}
+
{% trans 'paid'|capfirst %}
+
{{ user_object.profile.paid|yesno }}
{% endif %}
-
-
{% trans 'aliases'|capfirst %}
-
{{ user_object.note.alias_set.all|join:", " }}
- {% if user_object.pk == user_object.pk %}
-
{% trans 'Manage auth token' %}
- {% endif %}
+
+ {% for alias in user_object.note.alias_set.all %}
+
{{ alias }}
+ {% endfor %}
-
+
+{% if user_object.pk == user_object.pk %}
+
+ {% 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 %}
-
-{% endblock %}
+
+{% endblock %}
\ No newline at end of file
diff --git a/apps/note/templates/note/search_transactions.html b/apps/note/templates/note/search_transactions.html
index 89e571b0..2364a0b3 100644
--- a/apps/note/templates/note/search_transactions.html
+++ b/apps/note/templates/note/search_transactions.html
@@ -1,4 +1,4 @@
-{% extends "member/noteowner_detail.html" %}
+{% extends "member/base.html" %}
{% load render_table from django_tables2 %}
{% load crispy_forms_tags %}
@@ -22,7 +22,8 @@
{% crispy form %}
{% endblock %}
-{% block extra_content %}
+{% block content %}
+ {{ block.super }}
{% render_table table %}
diff --git a/apps/wei/templates/wei/base.html b/apps/wei/templates/wei/base.html
new file mode 100644
index 00000000..24778baf
--- /dev/null
+++ b/apps/wei/templates/wei/base.html
@@ -0,0 +1 @@
+{% extends "member/base.html" %}
diff --git a/apps/wei/templates/wei/bus_detail.html b/apps/wei/templates/wei/bus_detail.html
index 1b335be8..fc5d14a2 100644
--- a/apps/wei/templates/wei/bus_detail.html
+++ b/apps/wei/templates/wei/bus_detail.html
@@ -1,4 +1,4 @@
-{% extends "member/noteowner_detail.html" %}
+{% extends "wei/base.html" %}
{% block profile_info %}
{% include "wei/weiclub_info.html" %}
diff --git a/apps/wei/templates/wei/bus_form.html b/apps/wei/templates/wei/bus_form.html
index 4c7b22ce..3a2abfae 100644
--- a/apps/wei/templates/wei/bus_form.html
+++ b/apps/wei/templates/wei/bus_form.html
@@ -1,4 +1,4 @@
-{% extends "member/noteowner_detail.html" %}
+{% extends "wei/base.html" %}
{% load crispy_forms_tags %}
{% load i18n %}
diff --git a/apps/wei/templates/wei/busteam_detail.html b/apps/wei/templates/wei/busteam_detail.html
index 481e24ea..e262d64f 100644
--- a/apps/wei/templates/wei/busteam_detail.html
+++ b/apps/wei/templates/wei/busteam_detail.html
@@ -1,4 +1,4 @@
-{% extends "member/noteowner_detail.html" %}
+{% extends "wei/base.html" %}
{% block profile_info %}
{% include "wei/weiclub_info.html" %}
diff --git a/apps/wei/templates/wei/busteam_form.html b/apps/wei/templates/wei/busteam_form.html
index 4c7b22ce..3a2abfae 100644
--- a/apps/wei/templates/wei/busteam_form.html
+++ b/apps/wei/templates/wei/busteam_form.html
@@ -1,4 +1,4 @@
-{% extends "member/noteowner_detail.html" %}
+{% extends "wei/base.html" %}
{% load crispy_forms_tags %}
{% load i18n %}
diff --git a/apps/wei/templates/wei/survey.html b/apps/wei/templates/wei/survey.html
index 36553849..357693fb 100644
--- a/apps/wei/templates/wei/survey.html
+++ b/apps/wei/templates/wei/survey.html
@@ -1,4 +1,4 @@
-{% extends "member/noteowner_detail.html" %}
+{% extends "wei/base.html" %}
{% load i18n %}
{% load crispy_forms_tags %}
diff --git a/apps/wei/templates/wei/survey_closed.html b/apps/wei/templates/wei/survey_closed.html
index 28c182ef..719168be 100644
--- a/apps/wei/templates/wei/survey_closed.html
+++ b/apps/wei/templates/wei/survey_closed.html
@@ -1,4 +1,4 @@
-{% extends "member/noteowner_detail.html" %}
+{% extends "wei/base.html" %}
{% load i18n %}
{% load crispy_forms_tags %}
diff --git a/apps/wei/templates/wei/survey_end.html b/apps/wei/templates/wei/survey_end.html
index 888290f7..a141a036 100644
--- a/apps/wei/templates/wei/survey_end.html
+++ b/apps/wei/templates/wei/survey_end.html
@@ -1,4 +1,4 @@
-{% extends "member/noteowner_detail.html" %}
+{% extends "wei/base.html" %}
{% load i18n %}
{% load crispy_forms_tags %}
diff --git a/apps/wei/templates/wei/weiclub_detail.html b/apps/wei/templates/wei/weiclub_detail.html
index f359933f..4282964c 100644
--- a/apps/wei/templates/wei/weiclub_detail.html
+++ b/apps/wei/templates/wei/weiclub_detail.html
@@ -1,4 +1,4 @@
-{% extends "member/noteowner_detail.html" %}
+{% extends "wei/base.html" %}
{# Use a fluid-width container #}
{% block containertype %}container-fluid{% endblock %}
diff --git a/apps/wei/templates/wei/weiclub_form.html b/apps/wei/templates/wei/weiclub_form.html
index 64edf798..30af2ea7 100644
--- a/apps/wei/templates/wei/weiclub_form.html
+++ b/apps/wei/templates/wei/weiclub_form.html
@@ -1,4 +1,4 @@
-{% extends "member/noteowner_detail.html" %}
+{% extends "wei/base.html" %}
{% load crispy_forms_tags %}
{% load i18n %}
diff --git a/apps/wei/templates/wei/weimembership_form.html b/apps/wei/templates/wei/weimembership_form.html
index 9a1a4d97..ba4401ef 100644
--- a/apps/wei/templates/wei/weimembership_form.html
+++ b/apps/wei/templates/wei/weimembership_form.html
@@ -1,4 +1,4 @@
-{% extends "member/noteowner_detail.html" %}
+{% extends "wei/base.html" %}
{% load crispy_forms_tags %}
{% load i18n %}
{% load pretty_money %}
diff --git a/apps/wei/templates/wei/weimembership_list.html b/apps/wei/templates/wei/weimembership_list.html
index d058211f..e0ed72fa 100644
--- a/apps/wei/templates/wei/weimembership_list.html
+++ b/apps/wei/templates/wei/weimembership_list.html
@@ -1,4 +1,4 @@
-{% extends "member/noteowner_detail.html" %}
+{% extends "wei/base.html" %}
{% load i18n %}
{% load render_table from django_tables2 %}
diff --git a/apps/wei/templates/wei/weiregistration_confirm_delete.html b/apps/wei/templates/wei/weiregistration_confirm_delete.html
index 51bfc030..68d9c4a3 100644
--- a/apps/wei/templates/wei/weiregistration_confirm_delete.html
+++ b/apps/wei/templates/wei/weiregistration_confirm_delete.html
@@ -1,4 +1,4 @@
-{% extends "member/noteowner_detail.html" %}
+{% extends "wei/base.html" %}
{% load i18n %}
{% load crispy_forms_tags %}
diff --git a/apps/wei/templates/wei/weiregistration_form.html b/apps/wei/templates/wei/weiregistration_form.html
index 06a14be5..5bec2c0f 100644
--- a/apps/wei/templates/wei/weiregistration_form.html
+++ b/apps/wei/templates/wei/weiregistration_form.html
@@ -1,4 +1,4 @@
-{% extends "member/noteowner_detail.html" %}
+{% extends "wei/base.html" %}
{% load i18n %}
{% load crispy_forms_tags %}
diff --git a/apps/wei/templates/wei/weiregistration_list.html b/apps/wei/templates/wei/weiregistration_list.html
index 88c217aa..0fa8ef0f 100644
--- a/apps/wei/templates/wei/weiregistration_list.html
+++ b/apps/wei/templates/wei/weiregistration_list.html
@@ -1,4 +1,4 @@
-{% extends "member/noteowner_detail.html" %}
+{% extends "wei/base.html" %}
{% load i18n %}
{% load render_table from django_tables2 %}
diff --git a/note_kfet/templates/400.html b/note_kfet/templates/400.html
index 35606525..8b96e817 100644
--- a/note_kfet/templates/400.html
+++ b/note_kfet/templates/400.html
@@ -1,8 +1,23 @@
{% extends "base.html" %}
-
+{% comment %}
+SPDX-License-Identifier: GPL-3.0-or-later
+{% endcomment %}
{% load i18n %}
+{% block contenttitle %}{% endblock %}
{% block content %}
-
{% trans "Bad request" %}
- {% blocktrans %}Sorry, your request was bad. Don't know what could be wrong. An email has been sent to webmasters with the details of the error. You can now drink a coke.{% endblocktrans %}
+
+
+
+
+ {% blocktrans trimmed %}
+ Sorry, your request was bad. Don't know what could be wrong.
+ An email has been sent to webmasters with the details of the error.
+ You can now drink a coke.
+ {% endblocktrans %}
+
+
+
{% endblock %}
\ No newline at end of file
diff --git a/note_kfet/templates/403.html b/note_kfet/templates/403.html
index 317865f2..10199043 100644
--- a/note_kfet/templates/403.html
+++ b/note_kfet/templates/403.html
@@ -1,13 +1,20 @@
{% extends "base.html" %}
-
+{% comment %}
+SPDX-License-Identifier: GPL-3.0-or-later
+{% endcomment %}
{% load i18n %}
+{% block contenttitle %}{% endblock %}
{% block content %}
-
{% trans "Permission denied" %}
- {% blocktrans %}You don't have the right to perform this request.{% endblocktrans %}
- {% if exception %}
-
- {% trans "Exception message:" %} {{ exception }}
-
- {% endif %}
+
+
+
+
{% blocktrans %}You don't have the right to perform this request.{% endblocktrans %}
+ {% if exception %}
+
{% trans "Exception message:" %} {{ exception }}
+ {% endif %}
+
+
{% endblock %}
\ No newline at end of file
diff --git a/note_kfet/templates/404.html b/note_kfet/templates/404.html
index 8477f914..435bb7ec 100644
--- a/note_kfet/templates/404.html
+++ b/note_kfet/templates/404.html
@@ -1,13 +1,24 @@
{% extends "base.html" %}
-
+{% comment %}
+SPDX-License-Identifier: GPL-3.0-or-later
+{% endcomment %}
{% load i18n %}
+{% block contenttitle %}{% endblock %}
{% block content %}
-
{% trans "Page not found" %}
- {% blocktrans %}The requested path
{{ request_path }}
was not found on the server.{% endblocktrans %}
- {% if exception != "Resolver404" %}
-
- {% trans "Exception message:" %} {{ exception }}
-
- {% endif %}
+
+
+
+
+ {% blocktrans trimmed %}
+ The requested path {{ request_path }}
was not found on the server.
+ {% endblocktrans %}
+
+ {% if exception != "Resolver404" %}
+
{% trans "Exception message:" %} {{ exception }}
+ {% endif %}
+
+
{% endblock %}
\ No newline at end of file
diff --git a/note_kfet/templates/500.html b/note_kfet/templates/500.html
index 50b62bc2..ba4b5875 100644
--- a/note_kfet/templates/500.html
+++ b/note_kfet/templates/500.html
@@ -1,8 +1,23 @@
{% extends "base.html" %}
-
+{% comment %}
+SPDX-License-Identifier: GPL-3.0-or-later
+{% endcomment %}
{% load i18n %}
+{% block contenttitle %}{% endblock %}
{% block content %}
-
{% trans "Server error" %}
- {% blocktrans %}Sorry, an error occurred when processing your request. An email has been sent to webmasters with the detail of the error, and this will be fixed soon. You can now drink a beer.{% endblocktrans %}
+
+
+
+
+ {% blocktrans trimmed %}
+ Sorry, an error occurred when processing your request.
+ An email has been sent to webmasters with the detail of the error,
+ and this will be fixed soon. You can now drink a beer.
+ {% endblocktrans %}
+
+
+
{% endblock %}
\ No newline at end of file