]> git.mxchange.org Git - jfinancials-war.git/commitdiff
Please cherry-pick:
authorRoland Häder <roland@mxchange.org>
Mon, 11 May 2020 02:00:31 +0000 (04:00 +0200)
committerRoland Häder <roland@mxchange.org>
Mon, 11 May 2020 02:00:31 +0000 (04:00 +0200)
- "list" views may list more than one entity and should be plural

Signed-off-by: Roland Häder <roland@mxchange.org>
src/java/org/mxchange/jfinancials/beans/business/branchoffice/action/FinancialsAdminBranchOfficeActionWebRequestBean.java
src/java/org/mxchange/jfinancials/beans/contact/FinancialsAdminContactWebRequestBean.java
web/WEB-INF/faces-config.xml
web/WEB-INF/templates/admin/admin_menu.tpl

index cf9d8eec59496a1d4d5ea3e5647c1fbe605a2072..3adc086e2e14afd2d8138394089937d2691a88da 100644 (file)
@@ -920,7 +920,7 @@ public class FinancialsAdminBranchOfficeActionWebRequestBean extends BaseFinanci
                this.updatedBranchOfficeEvent.fire(new AdminBranchOfficeUpdatedEvent(updatedBranchOffice));
 
                // Redirect to list view
-               return "admin_list_branch_office"; //NOI18N
+               return "admin_list_branch_offices"; //NOI18N
        }
 
        /**
index 1344e290a7d05b3830d170c8d5657487244de3c5..1bc8c7d49198e294109f423570e41400afa81cce 100644 (file)
@@ -543,7 +543,7 @@ public class FinancialsAdminContactWebRequestBean extends BaseFinancialsBean imp
                this.deletedContactEvent.fire(new AdminDeletedContactEvent(this.getContact()));
 
                // Return to list view
-               return "admin_list_contact";
+               return "admin_list_contacts";
        }
 
        /**
index 622fcd2ba46bccb15e343daa88386dac1aa251ef..2264dd82a04efb94cfb16e1d79f259eca6563092 100644 (file)
                        <to-view-id>/user/user_profile.xhtml</to-view-id>
                </navigation-case>
                <navigation-case>
-                       <from-outcome>admin_list_fax</from-outcome>
+                       <from-outcome>admin_list_faxes</from-outcome>
                        <to-view-id>/admin/fax/admin_fax_list.xhtml</to-view-id>
                </navigation-case>
                <navigation-case>
-                       <from-outcome>admin_list_landline</from-outcome>
+                       <from-outcome>admin_list_landlines</from-outcome>
                        <to-view-id>/admin/landline/admin_landline_list.xhtml</to-view-id>
                </navigation-case>
                <navigation-case>
-                       <from-outcome>admin_list_mobile</from-outcome>
+                       <from-outcome>admin_list_mobiles</from-outcome>
                        <to-view-id>/admin/mobile/admin_mobile_list.xhtml</to-view-id>
                </navigation-case>
                <navigation-case>
                        <to-view-id>/admin/country/admin_country_list.xhtml</to-view-id>
                </navigation-case>
                <navigation-case>
-                       <from-outcome>admin_list_contact</from-outcome>
+                       <from-outcome>admin_list_contacts</from-outcome>
                        <to-view-id>/admin/contact/admin_contact_list.xhtml</to-view-id>
                </navigation-case>
                <navigation-case>
-                       <from-outcome>admin_export_contact</from-outcome>
+                       <from-outcome>admin_export_contacts</from-outcome>
                        <to-view-id>/admin/contact/admin_contact_export.xhtml</to-view-id>
                </navigation-case>
                <navigation-case>
-                       <from-outcome>admin_list_headquarter</from-outcome>
+                       <from-outcome>admin_list_headquarters</from-outcome>
                        <to-view-id>/admin/headquarter/admin_headquarter_list.xhtml</to-view-id>
                </navigation-case>
                <navigation-case>
                        <to-view-id>/admin/basic_data/admin_basic_data_list.xhtml</to-view-id>
                </navigation-case>
                <navigation-case>
-                       <from-outcome>admin_list_branch_office</from-outcome>
+                       <from-outcome>admin_list_branch_offices</from-outcome>
                        <to-view-id>/admin/branch_office/admin_branch_office_list.xhtml</to-view-id>
                </navigation-case>
                <navigation-case>
-                       <from-outcome>admin_list_department</from-outcome>
+                       <from-outcome>admin_list_departments</from-outcome>
                        <to-view-id>/admin/department/admin_department_list.xhtml</to-view-id>
                </navigation-case>
                <navigation-case>
-                       <from-outcome>admin_list_opening_time</from-outcome>
+                       <from-outcome>admin_list_opening_times</from-outcome>
                        <to-view-id>/admin/opening_time/admin_opening_time_list.xhtml</to-view-id>
                </navigation-case>
                <navigation-case>
-                       <from-outcome>admin_list_employee</from-outcome>
+                       <from-outcome>admin_list_employees</from-outcome>
                        <to-view-id>/admin/employee/admin_employee_list.xhtml</to-view-id>
                </navigation-case>
                <navigation-case>
                        <to-view-id>/admin/generic_product/admin_generic_product_list.xhtml</to-view-id>
                </navigation-case>
                <navigation-case>
-                       <from-outcome>admin_list_user</from-outcome>
+                       <from-outcome>admin_list_users</from-outcome>
                        <to-view-id>/admin/user/admin_user_list.xhtml</to-view-id>
                </navigation-case>
                <navigation-case>
-                       <from-outcome>admin_list_mobile_provider</from-outcome>
+                       <from-outcome>admin_list_mobile_providers</from-outcome>
                        <to-view-id>/admin/mobile_provider/admin_mobile_provider_list.xhtml</to-view-id>
                </navigation-case>
                <navigation-case>
                        <to-view-id>/admin/country/admin_country_list.xhtml</to-view-id>
                </navigation-case>
                <navigation-case>
-                       <from-outcome>admin_list_contact</from-outcome>
+                       <from-outcome>admin_list_contacts</from-outcome>
                        <to-view-id>/admin/contact/admin_contact_list.xhtml</to-view-id>
                </navigation-case>
                <navigation-case>
-                       <from-outcome>admin_list_mobile_provider</from-outcome>
+                       <from-outcome>admin_list_mobile_providers</from-outcome>
                        <to-view-id>/admin/mobile_provider/admin_mobile_provider_list.xhtml</to-view-id>
                </navigation-case>
                <navigation-case>
                        <to-view-id>/admin/user/admin_user_show.xhtml</to-view-id>
                </navigation-case>
                <navigation-case>
-                       <from-outcome>admin_list_user</from-outcome>
+                       <from-outcome>admin_list_users</from-outcome>
                        <to-view-id>/admin/user/admin_user_list.xhtml</to-view-id>
                </navigation-case>
        </navigation-rule>
                        <to-view-id>/admin/fax_provider/admin_fax_provider_show.xhtml</to-view-id>
                </navigation-case>
                <navigation-case>
-                       <from-outcome>admin_list_fax</from-outcome>
+                       <from-outcome>admin_list_faxes</from-outcome>
                        <to-view-id>/admin/fax/admin_fax_list.xhtml</to-view-id>
                </navigation-case>
        </navigation-rule>
                        <to-view-id>/admin/landline_provider/admin_landline_provider_show.xhtml</to-view-id>
                </navigation-case>
                <navigation-case>
-                       <from-outcome>admin_list_landline</from-outcome>
+                       <from-outcome>admin_list_landlines</from-outcome>
                        <to-view-id>/admin/landline/admin_landline_list.xhtml</to-view-id>
                </navigation-case>
        </navigation-rule>
                        <to-view-id>/admin/mobile_provider/admin_mobile_provider_show.xhtml</to-view-id>
                </navigation-case>
                <navigation-case>
-                       <from-outcome>admin_list_mobile</from-outcome>
+                       <from-outcome>admin_list_mobiles</from-outcome>
                        <to-view-id>/admin/mobile/admin_mobile_list.xhtml</to-view-id>
                </navigation-case>
        </navigation-rule>
        <navigation-rule>
                <from-view-id>/admin/contact/admin_contact_edit.xhtml</from-view-id>
                <navigation-case>
-                       <from-outcome>admin_list_contact</from-outcome>
+                       <from-outcome>admin_list_contacts</from-outcome>
                        <to-view-id>/admin/contact/admin_contact_list.xhtml</to-view-id>
                </navigation-case>
        </navigation-rule>
        <navigation-rule>
                <from-view-id>/admin/branch_office/admin_branch_office_edit.xhtml</from-view-id>
                <navigation-case>
-                       <from-outcome>admin_list_branch_office</from-outcome>
+                       <from-outcome>admin_list_branch_offices</from-outcome>
                        <to-view-id>/admin/branch_office/admin_branch_office_list.xhtml</to-view-id>
                        <redirect></redirect>
                </navigation-case>
index 348bf4b68a4b474594b99531b3d046d48b6434e6..b0740af66ba265b86e78009f68c9547a6c95fb55 100644 (file)
                                <ui:include src="/WEB-INF/templates/admin/menu/project.tpl" />
 
                                <p:submenu label="#{msg.ADMIN_MENU_USER_TITLE}" expanded="false">
-                                       <p:menuitem title="#{msg.ADMIN_LINK_LIST_USER_TITLE}" outcome="admin_list_user" value="#{msg.ADMIN_LINK_LIST_USER}" />
+                                       <p:menuitem title="#{msg.ADMIN_LINK_LIST_USER_TITLE}" outcome="admin_list_users" value="#{msg.ADMIN_LINK_LIST_USER}" />
                                        <p:menuitem title="#{msg.ADMIN_LINK_EXPORT_USER_TITLE}" outcome="admin_export_user" value="#{msg.ADMIN_LINK_EXPORT_USER}" />
                                </p:submenu>
 
                                <p:submenu label="#{msg.ADMIN_MENU_CONTACT_TITLE}" expanded="false">
-                                       <p:menuitem title="#{msg.ADMIN_LINK_LIST_CONTACT_TITLE}" outcome="admin_list_contact" value="#{msg.ADMIN_LINK_LIST_CONTACT}" />
-                                       <p:menuitem title="#{msg.ADMIN_LINK_EXPORT_CONTACT_TITLE}" outcome="admin_export_contact" value="#{msg.ADMIN_LINK_EXPORT_CONTACT}" />
+                                       <p:menuitem title="#{msg.ADMIN_LINK_LIST_CONTACT_TITLE}" outcome="admin_list_contacts" value="#{msg.ADMIN_LINK_LIST_CONTACT}" />
+                                       <p:menuitem title="#{msg.ADMIN_LINK_EXPORT_CONTACT_TITLE}" outcome="admin_export_contacts" value="#{msg.ADMIN_LINK_EXPORT_CONTACT}" />
                                </p:submenu>
 
                                <p:submenu label="#{msg.ADMIN_MENU_BUSINESS_CONTACT_TITLE}" rendered="#{featureController.isFeatureEnabled('basic_data')}" expanded="false">
                                        <p:menuitem title="#{msg.ADMIN_LINK_LIST_BASIC_DATA_TITLE}" outcome="admin_list_basic_data" value="#{msg.ADMIN_LINK_LIST_BASIC_DATA}" />
-                                       <p:menuitem title="#{msg.ADMIN_LINK_LIST_HEADQUARTER_TITLE}" outcome="admin_list_headquarter" value="#{msg.ADMIN_LINK_LIST_HEADQUARTER}" />
-                                       <p:menuitem title="#{msg.ADMIN_LINK_LIST_BRANCH_OFFICES_TITLE}" outcome="admin_list_branch_office" value="#{msg.ADMIN_LINK_LIST_BRANCH_OFFICES}" />
-                                       <p:menuitem title="#{msg.ADMIN_LINK_LIST_DEPARTMENTS_TITLE}" outcome="admin_list_department" value="#{msg.ADMIN_LINK_LIST_DEPARTMENTS}" />
-                                       <p:menuitem title="#{msg.ADMIN_LINK_LIST_OPENING_TIMES_TITLE}" outcome="admin_list_opening_time" value="#{msg.ADMIN_LINK_LIST_OPENING_TIMES}" />
-                                       <p:menuitem title="#{msg.ADMIN_LINK_LIST_EMPLOYEES_TITLE}" outcome="admin_list_company_employee" value="#{msg.ADMIN_LINK_LIST_EMPLOYEES}" rendered="#{featureController.isFeatureEnabled('company_employee')}" />
+                                       <p:menuitem title="#{msg.ADMIN_LINK_LIST_HEADQUARTER_TITLE}" outcome="admin_list_headquarters" value="#{msg.ADMIN_LINK_LIST_HEADQUARTER}" />
+                                       <p:menuitem title="#{msg.ADMIN_LINK_LIST_BRANCH_OFFICES_TITLE}" outcome="admin_list_branch_offices" value="#{msg.ADMIN_LINK_LIST_BRANCH_OFFICES}" />
+                                       <p:menuitem title="#{msg.ADMIN_LINK_LIST_DEPARTMENTS_TITLE}" outcome="admin_list_departments" value="#{msg.ADMIN_LINK_LIST_DEPARTMENTS}" />
+                                       <p:menuitem title="#{msg.ADMIN_LINK_LIST_OPENING_TIMES_TITLE}" outcome="admin_list_opening_times" value="#{msg.ADMIN_LINK_LIST_OPENING_TIMES}" />
+                                       <p:menuitem title="#{msg.ADMIN_LINK_LIST_EMPLOYEES_TITLE}" outcome="admin_list_employees" value="#{msg.ADMIN_LINK_LIST_EMPLOYEES}" rendered="#{featureController.isFeatureEnabled('company_employee')}" />
                                </p:submenu>
 
                                <p:submenu label="#{msg.ADMIN_MENU_PHONE_NUMBERS_TITLE}" expanded="false">
-                                       <p:menuitem title="#{msg.ADMIN_LINK_LIST_LAND_LINE_PHONE_NUMBERS_TITLE}" outcome="admin_list_landline" value="#{msg.ADMIN_LINK_LIST_LAND_LINE_PHONE_NUMBERS}" />
-                                       <p:menuitem title="#{msg.ADMIN_LINK_LIST_MOBILE_PHONE_NUMBERS_TITLE}" outcome="admin_list_mobile" value="#{msg.ADMIN_LINK_LIST_MOBILE_PHONE_NUMBERS}" />
-                                       <p:menuitem title="#{msg.ADMIN_LINK_LIST_FAX_PHONE_NUMBERS_TITLE}" outcome="admin_list_fax" value="#{msg.ADMIN_LINK_LIST_FAX_PHONE_NUMBERS}" />
+                                       <p:menuitem title="#{msg.ADMIN_LINK_LIST_LAND_LINE_PHONE_NUMBERS_TITLE}" outcome="admin_list_landlines" value="#{msg.ADMIN_LINK_LIST_LAND_LINE_PHONE_NUMBERS}" />
+                                       <p:menuitem title="#{msg.ADMIN_LINK_LIST_MOBILE_PHONE_NUMBERS_TITLE}" outcome="admin_list_mobiles" value="#{msg.ADMIN_LINK_LIST_MOBILE_PHONE_NUMBERS}" />
+                                       <p:menuitem title="#{msg.ADMIN_LINK_LIST_FAX_PHONE_NUMBERS_TITLE}" outcome="admin_list_faxes" value="#{msg.ADMIN_LINK_LIST_FAX_PHONE_NUMBERS}" />
                                </p:submenu>
 
                                <p:submenu label="#{msg.ADMIN_MENU_COUNTRY_TITLE}" expanded="false">
@@ -45,7 +45,7 @@
                                </p:submenu>
 
                                <p:submenu label="#{msg.ADMIN_MENU_MOBILE_PROVIDER_TITLE}" expanded="false">
-                                       <p:menuitem title="#{msg.ADMIN_LINK_LIST_MOBILE_PROVIDER_TITLE}" outcome="admin_list_mobile_provider" value="#{msg.ADMIN_LINK_LIST_MOBILE_PROVIDER}" />
+                                       <p:menuitem title="#{msg.ADMIN_LINK_LIST_MOBILE_PROVIDER_TITLE}" outcome="admin_list_mobile_providers" value="#{msg.ADMIN_LINK_LIST_MOBILE_PROVIDER}" />
                                </p:submenu>
 
                                <p:submenu label="#{msg.ADMIN_MENU_LOGOUT_TITLE}" expanded="false">