]> git.mxchange.org Git - jjobs-war.git/commitdiff
Please cherry-pick:
authorRoland Häder <roland@mxchange.org>
Sun, 29 Mar 2020 21:58:10 +0000 (23:58 +0200)
committerRoland Häder <roland@mxchange.org>
Thu, 2 Apr 2020 16:39:47 +0000 (18:39 +0200)
- rewrote to use DATA_ZIP_CODE only, other *_DATA_ZIP_CODE has been deleted
- continued a bit with details p:dialog (modal) box, still need to add all
  fields, including for administrative list

Signed-off-by: Roland Häder <roland@mxchange.org>
src/java/org/mxchange/localization/generic_de_DE.properties
src/java/org/mxchange/localization/generic_en_US.properties
web/WEB-INF/resources/tags/admin/columns/admin_contact_data_columns.tpl
web/WEB-INF/resources/tags/admin/form_data/contact/admin_form_contact_data.tpl
web/WEB-INF/templates/admin/branch_office/admin_form_branch_office_data.tpl
web/WEB-INF/templates/admin/headquarter/admin_form_headquarter.tpl
web/admin/branch_office/admin_branch_office_list.xhtml
web/admin/contact/admin_contact_list.xhtml

index b47cd481923a895bc6b1e0e6f137230db78fd7d4..b6c7a8b0dd31fd2edc10a0ec534b1e9a818d9c50 100644 (file)
@@ -275,7 +275,6 @@ ADMIN_PERSONAL_DATA_FIRST_NAME=Vorname:
 ADMIN_PERSONAL_DATA_FAMILY_NAME=Familienname:
 ADMIN_DATA_STREET_NAME=Strassenname:
 ADMIN_DATA_HOUSE_NUMBER=Hausnummer:
-ADMIN_DATA_ZIP_CODE=Postleitzahl:
 ADMIN_DATA_CITY=Wohnort:
 ADMIN_SELECT_COUNTRY=Land ausw\u00e4hlen:
 ADMIN_PERSONAL_DATA_PHONE_NUMBER=Telefonnummer:
@@ -381,7 +380,6 @@ ADMIN_CONTACT_FIRST_NAME=Vorname:
 ADMIN_CONTACT_FAMILY_NAME=Nachname:
 ADMIN_CONTACT_STREET=Strasse:
 ADMIN_CONTACT_HOUSE_NUMBER=Hausnummer:
-ADMIN_CONTACT_ZIP_CODE=Postleitzahl:
 ADMIN_CONTACT_CITY=Stadt:
 DATA_EMAIL_ADDRESS=Email-Adresse:
 ADMIN_CONTACT_BIRTHDAY=Geburtstag:
@@ -1210,7 +1208,6 @@ HOUSE_NUMBER_EXTENSION_OF_BRANCH_OFFICE_TITLE=Hausnummerzusatz der Filiale
 STORE_HEADER=Geschoss:
 STORE_OF_BRANCH_OFFICE_TITLE=Geschoss der Filiale
 SUITE_NUMBER_HEADER=Suite-Nummer:
-ZIP_CODE_HEADER=Postleitzahl:
 ZIP_CODE_OF_BRANCH_OFFICE_TITLE=Postleitzahl der Filiale
 CITY_HEADER=Stadt:
 CITY_OF_BRANCH_OFFICE_TITLE=Stadt der Filiale
@@ -1228,3 +1225,4 @@ AVAILABLE_HEADER=Verf\u00fcgbar:
 ADMIN_MANUFACTURER_HEADER=Hersteller:
 ADMIN_ASSIGNED_MANUFACTURER_LABEL=Zugewiesener Hersteller:
 BARCODE=Barcode:
+ADMIN_CONTACT_DETAILS_HEADER=Kontaktdaten zu {0} {1} {2}:
index 60078ca2c19bfe6663ef270e79d7be7f98aa3280..4cae0e66f684d8291ca1f9ae8d336458aaa7fac6 100644 (file)
@@ -250,7 +250,6 @@ ADMIN_PERSONAL_DATA_FIRST_NAME=First name:
 ADMIN_PERSONAL_DATA_FAMILY_NAME=Family name:
 ADMIN_DATA_STREET_NAME=Name of street:
 ADMIN_DATA_HOUSE_NUMBER=House number:
-ADMIN_DATA_ZIP_CODE=ZIP code:
 ADMIN_DATA_CITY=City:
 ADMIN_SELECT_COUNTRY=Select country:
 ADMIN_PERSONAL_DATA_PHONE_NUMBER=Phone number:
@@ -352,7 +351,6 @@ ADMIN_CONTACT_FIRST_NAME=First name:
 ADMIN_CONTACT_FAMILY_NAME=Family name:
 ADMIN_CONTACT_STREET=Street:
 ADMIN_CONTACT_HOUSE_NUMBER=House number:
-ADMIN_CONTACT_ZIP_CODE=ZIP code:
 ADMIN_CONTACT_CITY=City:
 DATA_EMAIL_ADDRESS=Email address:
 ADMIN_CONTACT_BIRTHDAY=Birthday:
@@ -1118,7 +1116,6 @@ HOUSE_NUMBER_EXTENSION_OF_BRANCH_OFFICE_TITLE=House number extension of branch o
 STORE_HEADER=Store:
 STORE_OF_BRANCH_OFFICE_TITLE=Store of branch office
 SUITE_NUMBER_HEADER=Suite number:
-ZIP_CODE_HEADER=ZIP code:
 ZIP_CODE_OF_BRANCH_OFFICE_TITLE=ZIP code of branch office
 CITY_HEADER=City:
 CITY_OF_BRANCH_OFFICE_TITLE=City of branch office
@@ -1135,3 +1132,4 @@ AVAILABLE_HEADER=Available:
 ADMIN_MANUFACTURER_HEADER=Manufacturer:
 ADMIN_ASSIGNED_MANUFACTURER_LABEL=Assigned manufacturer:
 BARCODE=Barcode:
+ADMIN_CONTACT_DETAILS_HEADER=Contact data of {0} {1} {2}:
index 9b7c204a3758dd587b1a032df8394eb009426344..49934fc9088f34ae8c8c5c5e70605583f1018dfb 100644 (file)
@@ -85,7 +85,7 @@
        </p:column>
 
        <p:column>
-               <p:outputLabel for="contactZipCode" styleClass="table-data-label" value="#{msg.ADMIN_CONTACT_ZIP_CODE}" />
+               <p:outputLabel for="contactZipCode" styleClass="table-data-label" value="#{msg.DATA_ZIP_CODE}" />
 
                <h:outputText id="contactZipCode" styleClass="table-data-field" value="#{beanHelper.contact.contactZipCode}" />
        </p:column>
                <p:outputLabel for="contactBirthday" styleClass="table-data-label" value="#{msg.ADMIN_CONTACT_BIRTHDAY}" />
 
                <h:outputText id="contactBirthday" styleClass="table-data-field" value="#{beanHelper.contact.contactBirthday}">
-                                               <f:convertDateTime type="date" dateStyle="medium" />
+                       <f:convertDateTime type="date" dateStyle="medium" />
                </h:outputText>
        </p:column>
 
index c395bad6ed377047e73581565151bc5647e94618..5a0557a9b6d7b00f7af7fc39c6abde8828ba08be 100644 (file)
@@ -72,7 +72,7 @@
                        <p:outputLabel for="houseNumberExtension" value="#{msg.ADMIN_DATA_HOUSE_NUMBER_EXTENSION}" />
                        <p:inputText id="houseNumberExtension" size="2" maxlength="2" value="#{adminContactController.houseNumberExtension}" />
 
-                       <p:outputLabel for="zipCode" value="#{msg.ADMIN_DATA_ZIP_CODE}" />
+                       <p:outputLabel for="zipCode" value="#{msg.DATA_ZIP_CODE}" />
                        <p:inputText id="zipCode" size="5" maxlength="6" value="#{adminContactController.zipCode}" validatorMessage="#{msg.ENTERED_ZIP_CODE_INVALID}">
                                <f:validateLongRange minimum="1" maximum="99999" />
                        </p:inputText>
index 6b4e9f96126288aba08c8a8f86c8ce96d3e279c3..dde0a62b64e7179f0cb4fb6f62fb17cf81e1e4fd 100644 (file)
                                <f:validateLongRange minimum="1" maximum="500" />
                        </p:inputText>
 
-                       <p:outputLabel for="branchZipCode" value="#{msg.ADMIN_DATA_ZIP_CODE}" />
+                       <p:outputLabel for="branchZipCode" value="#{msg.DATA_ZIP_CODE}" />
                        <p:inputText id="branchZipCode" size="5" maxlength="6" value="#{adminBranchOfficeController.branchZipCode}" required="true" requiredMessage="#{msg.ADMIN_BRANCH_OFFICE_ZIP_CODE_REQUIRED}">
                                <f:validateLongRange minimum="1" maximum="99999" />
                        </p:inputText>
index d6cdd31422b4a3713f02926d6c21da84a50562a0..12de8a18bbaf29c1ea41b6f6a0eb18ea31fc7d50 100644 (file)
                                <f:validateLongRange minimum="1" maximum="500" />
                        </p:inputText>
 
-                       <p:outputLabel for="headquarterZipCode" value="#{msg.ADMIN_DATA_ZIP_CODE}" />
+                       <p:outputLabel for="headquarterZipCode" value="#{msg.DATA_ZIP_CODE}" />
                        <p:inputText id="headquarterZipCode" size="5" maxlength="6" value="#{adminHeadquarterController.headquarterZipCode}" required="true" requiredMessage="#{msg.ADMIN_HEADQUARTER_ZIP_CODE_REQUIRED}">
                                <f:validateLongRange minimum="1" maximum="99999" />
                        </p:inputText>
index b5267f384027582a3702b590d6157aaae70391d8..f0532eae4bc5ba38df84d1465337c06981029cf5 100644 (file)
                                                                <p:outputLabel value="#{msg.SUITE_NUMBER_HEADER}" title="#{msg.SUITE_NUMBER_OF_BRANCH_OFFICE_TITLE}" />
                                                                <h:outputText value="#{branchOfficeListController.selectedBranchOffice.branchSuiteNumber}" />
 
-                                                               <p:outputLabel value="#{msg.ZIP_CODE_HEADER}" title="#{msg.ZIP_CODE_OF_BRANCH_OFFICE_TITLE}" />
+                                                               <p:outputLabel value="#{msg.DATA_ZIP_CODE}" title="#{msg.ZIP_CODE_OF_BRANCH_OFFICE_TITLE}" />
                                                                <h:outputText value="#{branchOfficeListController.selectedBranchOffice.branchZipCode}" />
 
                                                                <p:outputLabel value="#{msg.CITY_HEADER}" title="#{msg.CITY_OF_BRANCH_OFFICE_TITLE}" />
index 15ce96640b363958847c6216f6466f81f05011c7..86e0a2e48a1f656e4ee65751275f8e0591b35aa7 100644 (file)
                                        <p:panelGrid columns="2" rendered="#{not empty contactListController.selectedContact}">
                                                <f:facet name="header">
                                                        <h:outputFormat value="#{msg.ADMIN_CONTACT_DETAILS_HEADER}">
-                                                               <f:param value="#{contactListController.selectedContact.companyName}" />
+                                                               <f:param value="#{msg[contactListController.selectedContact.contactPersonalTitle.messageKey]}" />
+                                                               <f:param value="#{contactListController.selectedContact.contactFirstName}" />
+                                                               <f:param value="#{contactListController.selectedContact.contactFamilyName}" />
                                                                <f:param value="#{contactListController.selectedContact.contactId}" />
                                                        </h:outputFormat>
                                                </f:facet>