From 1bc1b6d2577a75d6768a4f3a874a2ffb01163af8 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Roland=20H=C3=A4der?= Date: Sat, 13 May 2023 13:12:19 +0200 Subject: [PATCH] Please cherry-pick: - added i18n string for Switzerland - added dynamic="true" when a very long list is expected --- .../localization/bundle_de_DE.properties | 8 +- .../localization/bundle_en_US.properties | 8 +- .../admin_form_branch_office_data.tpl | 4 + .../admin_form_branch_opening_time.tpl | 7 +- .../department/admin_form_department_data.tpl | 5 + .../employee/admin_form_employee_data.tpl | 6 + .../admin_form_headquarter_data.tpl | 2 + .../admin/fax/admin_form_add_contact_fax.tpl | 5 +- .../basic_data/admin_basic_data_list.xhtml | 9 +- .../admin_branch_office_list.xhtml | 3 + .../department/admin_department_list.xhtml | 4 + .../employee/admin_employee_list.xhtml | 3 + .../headquarter/admin_headquarter_list.xhtml | 2 + .../admin_mobile_provider_delete.xhtml | 13 +- .../admin_mobile_provider_edit.xhtml | 13 +- .../admin_mobile_provider_list.xhtml | 277 ++++++++--- .../admin_mobile_provider_show.xhtml | 13 +- web/admin/user/admin_user_activity_log.xhtml | 54 ++- web/admin/user/admin_user_delete.xhtml | 45 +- web/admin/user/admin_user_edit.xhtml | 53 ++- web/admin/user/admin_user_export.xhtml | 87 +++- web/admin/user/admin_user_list.xhtml | 431 +++++++++++++----- web/admin/user/admin_user_lock.xhtml | 48 +- .../admin_user_resend_confirmation_link.xhtml | 61 ++- web/admin/user/admin_user_show.xhtml | 76 +-- web/admin/user/admin_user_unlock.xhtml | 77 ++-- 26 files changed, 955 insertions(+), 359 deletions(-) diff --git a/src/java/org/mxchange/localization/bundle_de_DE.properties b/src/java/org/mxchange/localization/bundle_de_DE.properties index 75ccced2..6e77d5e1 100644 --- a/src/java/org/mxchange/localization/bundle_de_DE.properties +++ b/src/java/org/mxchange/localization/bundle_de_DE.properties @@ -131,7 +131,13 @@ COUNTRY_ITALIA=Italien COUNTRY_LUXEMBOURG=Luxemburg COUNTRY_NETHERLANDS=Niederlande COUNTRY_PHILIPPINES=Philippinen -NONE_SELECTED=k.A. +COUNTRY_POLAND=Polen +COUNTRY_SWEDEN=Schweden +COUNTRY_SWITZERLAND=Schweiz +COUNTRY_TURKEY=T\u00fcrkei +COUNTRY_THAILAND=Thailand +COUNTRY_UNITED_STATES_OF_AMERICA=U.S.A. +NONE_SELECTED=Nichts ausgew\u00e4hlt ENTERED_HOUSE_NUMBER_INVALID=Die eingegebene Hausnummer ist ung\u00fcltig. ENTERED_ZIP_CODE_INVALID=Die eingegebene Postleitzahl ist ung\u00fcltig. TABLE_HEADER_USER_LIST=Alle Benutzer auflisten diff --git a/src/java/org/mxchange/localization/bundle_en_US.properties b/src/java/org/mxchange/localization/bundle_en_US.properties index 946c35ce..12af1a70 100644 --- a/src/java/org/mxchange/localization/bundle_en_US.properties +++ b/src/java/org/mxchange/localization/bundle_en_US.properties @@ -132,7 +132,13 @@ COUNTRY_ITALIA=Italia COUNTRY_LUXEMBOURG=Luxembourg COUNTRY_NETHERLANDS=Netherlands COUNTRY_PHILIPPINES=Philippines -NONE_SELECTED=Empty +COUNTRY_POLAND=Poland +COUNTRY_SWEDEN=Sweden +COUNTRY_SWITZERLAND=Switzerland +COUNTRY_THAILAND=Thailand +COUNTRY_TURKEY=Turkey +COUNTRY_UNITED_STATES_OF_AMERICA=U.S.A. +NONE_SELECTED=None selected ENTERED_HOUSE_NUMBER_INVALID=The entered house number is invalid. ENTERED_ZIP_CODE_INVALID=The entered ZIP code is invalid. TABLE_HEADER_USER_LIST=List all users diff --git a/web/WEB-INF/templates/admin/business/branch_office/admin_form_branch_office_data.tpl b/web/WEB-INF/templates/admin/business/branch_office/admin_form_branch_office_data.tpl index 45efc8a7..6f2d5d2c 100644 --- a/web/WEB-INF/templates/admin/business/branch_office/admin_form_branch_office_data.tpl +++ b/web/WEB-INF/templates/admin/business/branch_office/admin_form_branch_office_data.tpl @@ -24,6 +24,7 @@ value="#{adminBranchOfficeActionController.branchCompany}" filter="true" filterMatchMode="contains" + dynamic="true" required="true" requiredMessage="#{msg.ADMIN_BRANCH_OFFICE_REQUIRED}" > @@ -46,6 +47,7 @@ value="#{adminBranchOfficeActionController.branchContactEmployee}" filter="true" filterMatchMode="contains" + dynamic="true" > @@ -69,6 +71,7 @@ value="#{adminBranchOfficeActionController.branchOwnerEmployee}" filter="true" filterMatchMode="contains" + dynamic="true" > @@ -92,6 +95,7 @@ value="#{adminBranchOfficeActionController.branchUserOwner}" filter="true" filterMatchMode="contains" + dynamic="true" > diff --git a/web/WEB-INF/templates/admin/business/branch_office/admin_form_branch_opening_time.tpl b/web/WEB-INF/templates/admin/business/branch_office/admin_form_branch_opening_time.tpl index 4af4b866..eed88037 100644 --- a/web/WEB-INF/templates/admin/business/branch_office/admin_form_branch_opening_time.tpl +++ b/web/WEB-INF/templates/admin/business/branch_office/admin_form_branch_opening_time.tpl @@ -52,7 +52,12 @@ - + @@ -53,6 +54,7 @@ value="#{adminDepartmentActionController.departmentBranchOffice}" filter="true" filterMatchMode="contains" + dynamic="true" > @@ -76,6 +78,7 @@ value="#{adminDepartmentActionController.departmentHeadquarter}" filter="true" filterMatchMode="contains" + dynamic="true" > @@ -99,6 +102,7 @@ value="#{adminDepartmentActionController.departmentLead}" filter="true" filterMatchMode="contains" + dynamic="true" > @@ -122,6 +126,7 @@ value="#{adminDepartmentActionController.departmentUserOwner}" filter="true" filterMatchMode="contains" + dynamic="true" > diff --git a/web/WEB-INF/templates/admin/business/employee/admin_form_employee_data.tpl b/web/WEB-INF/templates/admin/business/employee/admin_form_employee_data.tpl index 21644cf7..8ebf92ef 100644 --- a/web/WEB-INF/templates/admin/business/employee/admin_form_employee_data.tpl +++ b/web/WEB-INF/templates/admin/business/employee/admin_form_employee_data.tpl @@ -24,6 +24,7 @@ value="#{adminEmployeeController.employeeBasicData}" filter="true" filterMatchMode="contains" + dynamic="true" required="true" requiredMessage="#{msg.ADMIN_EMPLOYEE_COMPANY_REQUIRED}" > @@ -51,6 +52,7 @@ value="#{adminEmployeeController.employeeBranchOffice}" filter="true" filterMatchMode="contains" + dynamic="true" > @@ -74,6 +76,7 @@ value="#{adminEmployeeController.employeePersonalData}" filter="true" filterMatchMode="contains" + dynamic="true" > @@ -97,6 +100,7 @@ value="#{adminEmployeeController.employeeUserOwner}" filter="true" filterMatchMode="contains" + dynamic="true" > @@ -149,6 +153,7 @@ value="#{adminEmployeeController.employeeDepartment}" filter="true" filterMatchMode="contains" + dynamic="true" > @@ -172,6 +177,7 @@ value="#{adminEmployeeController.employeeHeadquarter}" filter="true" filterMatchMode="contains" + dynamic="true" > diff --git a/web/WEB-INF/templates/admin/business/headquarter/admin_form_headquarter_data.tpl b/web/WEB-INF/templates/admin/business/headquarter/admin_form_headquarter_data.tpl index 61ddb0b1..97923887 100644 --- a/web/WEB-INF/templates/admin/business/headquarter/admin_form_headquarter_data.tpl +++ b/web/WEB-INF/templates/admin/business/headquarter/admin_form_headquarter_data.tpl @@ -37,6 +37,7 @@ value="#{adminHeadquarterActionController.headquarterContactEmployee}" filter="true" filterMatchMode="contains" + dynamic="true" > @@ -60,6 +61,7 @@ value="#{adminHeadquarterActionController.headquarterUserOwner}" filter="true" filterMatchMode="contains" + dynamic="true" > diff --git a/web/WEB-INF/templates/admin/fax/admin_form_add_contact_fax.tpl b/web/WEB-INF/templates/admin/fax/admin_form_add_contact_fax.tpl index e8bfe048..6ad0222f 100644 --- a/web/WEB-INF/templates/admin/fax/admin_form_add_contact_fax.tpl +++ b/web/WEB-INF/templates/admin/fax/admin_form_add_contact_fax.tpl @@ -25,7 +25,10 @@
- + diff --git a/web/admin/business/basic_data/admin_basic_data_list.xhtml b/web/admin/business/basic_data/admin_basic_data_list.xhtml index 441db7d3..3373ea2d 100644 --- a/web/admin/business/basic_data/admin_basic_data_list.xhtml +++ b/web/admin/business/basic_data/admin_basic_data_list.xhtml @@ -147,6 +147,7 @@ @@ -515,9 +518,9 @@ @@ -538,9 +541,9 @@ diff --git a/web/admin/business/branch_office/admin_branch_office_list.xhtml b/web/admin/business/branch_office/admin_branch_office_list.xhtml index c28d1e6c..2cea9750 100644 --- a/web/admin/business/branch_office/admin_branch_office_list.xhtml +++ b/web/admin/business/branch_office/admin_branch_office_list.xhtml @@ -122,6 +122,7 @@ - + - + diff --git a/web/admin/mobile_provider/admin_mobile_provider_edit.xhtml b/web/admin/mobile_provider/admin_mobile_provider_edit.xhtml index 0ccf4124..c50a139b 100644 --- a/web/admin/mobile_provider/admin_mobile_provider_edit.xhtml +++ b/web/admin/mobile_provider/admin_mobile_provider_edit.xhtml @@ -1,11 +1,12 @@ - + - + diff --git a/web/admin/mobile_provider/admin_mobile_provider_list.xhtml b/web/admin/mobile_provider/admin_mobile_provider_list.xhtml index 1062279f..bb348e45 100644 --- a/web/admin/mobile_provider/admin_mobile_provider_list.xhtml +++ b/web/admin/mobile_provider/admin_mobile_provider_list.xhtml @@ -1,13 +1,15 @@ - - - + + + @@ -16,72 +18,237 @@ - - + + + - - + + - - - - + + - - - - + + - - + + - - - + + + + + - - + - - - - + + + + + - - + + + - - - - + + + - - - - + + + + + + + - - - - + + + + + + + + + + + + + + + + + + + + + + + + - - - + + + + + + + - - + + + + + + + + + + + + + + + + + + +
- + + + + +
diff --git a/web/admin/mobile_provider/admin_mobile_provider_show.xhtml b/web/admin/mobile_provider/admin_mobile_provider_show.xhtml index c4733e30..8a3bdecd 100644 --- a/web/admin/mobile_provider/admin_mobile_provider_show.xhtml +++ b/web/admin/mobile_provider/admin_mobile_provider_show.xhtml @@ -1,11 +1,12 @@ - + - + diff --git a/web/admin/user/admin_user_activity_log.xhtml b/web/admin/user/admin_user_activity_log.xhtml index 877ab542..e0ec4c6d 100644 --- a/web/admin/user/admin_user_activity_log.xhtml +++ b/web/admin/user/admin_user_activity_log.xhtml @@ -1,20 +1,28 @@ - + - - + + - + @@ -23,15 +31,25 @@ - - - + - + - + @@ -39,7 +57,7 @@ - + @@ -99,8 +117,8 @@ - - + + diff --git a/web/admin/user/admin_user_delete.xhtml b/web/admin/user/admin_user_delete.xhtml index 1438a2a9..83a97f28 100644 --- a/web/admin/user/admin_user_delete.xhtml +++ b/web/admin/user/admin_user_delete.xhtml @@ -1,20 +1,28 @@ - + - - + + - + @@ -23,10 +31,8 @@ - - - - + +
@@ -46,14 +52,15 @@
- +
- +
diff --git a/web/admin/user/admin_user_edit.xhtml b/web/admin/user/admin_user_edit.xhtml index 79cf4df3..eeb97a36 100644 --- a/web/admin/user/admin_user_edit.xhtml +++ b/web/admin/user/admin_user_edit.xhtml @@ -1,20 +1,29 @@ - + - - + + - + @@ -23,10 +32,8 @@ - - - - + +
@@ -35,12 +42,20 @@
- + - + + + + + diff --git a/web/admin/user/admin_user_export.xhtml b/web/admin/user/admin_user_export.xhtml index 0921f74a..60ede6cf 100644 --- a/web/admin/user/admin_user_export.xhtml +++ b/web/admin/user/admin_user_export.xhtml @@ -1,13 +1,15 @@ - - - + + + @@ -16,16 +18,26 @@ - - - - + + - + @@ -134,7 +146,7 @@ - + @@ -148,7 +160,7 @@ - + @@ -167,13 +179,33 @@ - - + + + + + + + + + + + + - +
@@ -182,11 +214,18 @@ - + + + +
diff --git a/web/admin/user/admin_user_list.xhtml b/web/admin/user/admin_user_list.xhtml index be6bf16e..e6e3a9a4 100644 --- a/web/admin/user/admin_user_list.xhtml +++ b/web/admin/user/admin_user_list.xhtml @@ -1,14 +1,16 @@ - - - + + + @@ -17,128 +19,353 @@ - - + + + - + + + + + + + + + + + + + + + + + - - - - + - - - - - + + + + + + - - - - - + + + + + + + - - + + - - - - + + + - - + + + - - - - + + + + + + + - - + + - - - - + + + + + + + - - + + - - - - + + + + + + + + + - - + + + - - - - + + + + + - - - - + + + + + - + + + + + + + + + + + + + + + + + + + + + + + + - + - - - + + + + + - - -
- -
- - - -
- - - - - -
- -
- -
- - - - -
-
-
-
+ +
+
+
- + - - + + + + + + + + - -
- + + + + + + + + +
diff --git a/web/admin/user/admin_user_lock.xhtml b/web/admin/user/admin_user_lock.xhtml index 03bfc251..a0f535f3 100644 --- a/web/admin/user/admin_user_lock.xhtml +++ b/web/admin/user/admin_user_lock.xhtml @@ -1,20 +1,28 @@ - + - - + + - + @@ -23,10 +31,8 @@ - - - - + +
@@ -70,7 +76,7 @@
- +
@@ -91,12 +97,20 @@
- + - + diff --git a/web/admin/user/admin_user_resend_confirmation_link.xhtml b/web/admin/user/admin_user_resend_confirmation_link.xhtml index 5afc35d2..fb6ba37e 100644 --- a/web/admin/user/admin_user_resend_confirmation_link.xhtml +++ b/web/admin/user/admin_user_resend_confirmation_link.xhtml @@ -1,20 +1,28 @@ - + - - + + - + @@ -23,10 +31,8 @@ - - - - + +
@@ -42,20 +48,35 @@ - + + - + - + diff --git a/web/admin/user/admin_user_show.xhtml b/web/admin/user/admin_user_show.xhtml index 89f0b91b..51ac50a4 100644 --- a/web/admin/user/admin_user_show.xhtml +++ b/web/admin/user/admin_user_show.xhtml @@ -1,20 +1,28 @@ - + - - + + - + @@ -23,29 +31,29 @@ - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + diff --git a/web/admin/user/admin_user_unlock.xhtml b/web/admin/user/admin_user_unlock.xhtml index 517db8c3..40111a65 100644 --- a/web/admin/user/admin_user_unlock.xhtml +++ b/web/admin/user/admin_user_unlock.xhtml @@ -1,20 +1,28 @@ - + - - + + - + @@ -23,10 +31,8 @@ - - - - + +
@@ -40,7 +46,11 @@
- +
@@ -78,19 +88,19 @@
- +
- - + +
- +
@@ -98,20 +108,35 @@
- + + + + +
- + - + -- 2.39.5