From cbc3e39bd6a0171b6b21dfb185990b0681bcd471 Mon Sep 17 00:00:00 2001 From: Alexandre Iooss Date: Sun, 23 Aug 2020 10:06:16 +0200 Subject: [PATCH] Create base template for member and wei --- apps/member/templates/member/add_members.html | 2 +- .../templates/member/{noteowner_detail.html => base.html} | 0 apps/member/templates/member/club_detail.html | 2 +- apps/member/templates/member/club_members.html | 2 +- apps/member/templates/member/profile_detail.html | 2 +- apps/note/templates/note/search_transactions.html | 2 +- apps/wei/templates/wei/base.html | 1 + apps/wei/templates/wei/bus_detail.html | 2 +- apps/wei/templates/wei/bus_form.html | 2 +- apps/wei/templates/wei/busteam_detail.html | 2 +- apps/wei/templates/wei/busteam_form.html | 2 +- apps/wei/templates/wei/survey.html | 2 +- apps/wei/templates/wei/survey_closed.html | 2 +- apps/wei/templates/wei/survey_end.html | 2 +- apps/wei/templates/wei/weiclub_detail.html | 2 +- apps/wei/templates/wei/weiclub_form.html | 2 +- apps/wei/templates/wei/weimembership_form.html | 2 +- apps/wei/templates/wei/weimembership_list.html | 2 +- apps/wei/templates/wei/weiregistration_confirm_delete.html | 2 +- apps/wei/templates/wei/weiregistration_form.html | 2 +- apps/wei/templates/wei/weiregistration_list.html | 2 +- 21 files changed, 20 insertions(+), 19 deletions(-) rename apps/member/templates/member/{noteowner_detail.html => base.html} (100%) create mode 100644 apps/wei/templates/wei/base.html diff --git a/apps/member/templates/member/add_members.html b/apps/member/templates/member/add_members.html index 8f429541..909e72b3 100644 --- a/apps/member/templates/member/add_members.html +++ b/apps/member/templates/member/add_members.html @@ -1,4 +1,4 @@ -{% extends "member/noteowner_detail.html" %} +{% extends "member/base.html" %} {% load crispy_forms_tags %} {% load static %} {% load i18n %} diff --git a/apps/member/templates/member/noteowner_detail.html b/apps/member/templates/member/base.html similarity index 100% rename from apps/member/templates/member/noteowner_detail.html rename to apps/member/templates/member/base.html diff --git a/apps/member/templates/member/club_detail.html b/apps/member/templates/member/club_detail.html index bd6e8399..c3afee7b 100644 --- a/apps/member/templates/member/club_detail.html +++ b/apps/member/templates/member/club_detail.html @@ -1,4 +1,4 @@ -{% extends "member/noteowner_detail.html" %} +{% extends "member/base.html" %} {% block profile_info %} {% include "member/club_info.html" %} diff --git a/apps/member/templates/member/club_members.html b/apps/member/templates/member/club_members.html index ed2debe4..9faff271 100644 --- a/apps/member/templates/member/club_members.html +++ b/apps/member/templates/member/club_members.html @@ -1,4 +1,4 @@ -{% extends "member/noteowner_detail.html" %} +{% extends "member/base.html" %} {% load i18n %} {% load render_table from django_tables2 %} diff --git a/apps/member/templates/member/profile_detail.html b/apps/member/templates/member/profile_detail.html index 297af21c..51ec3095 100644 --- a/apps/member/templates/member/profile_detail.html +++ b/apps/member/templates/member/profile_detail.html @@ -1,4 +1,4 @@ -{% extends "member/noteowner_detail.html" %} +{% extends "member/base.html" %} {% block profile_info %} {% include "member/profile_info.html" %} diff --git a/apps/note/templates/note/search_transactions.html b/apps/note/templates/note/search_transactions.html index 9239ee87..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 %} 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 %}