]> git.mxchange.org Git - jjobs-war.git/commitdiff
Please cherry-pick:
authorRoland Häder <roland@mxchange.org>
Mon, 22 Aug 2016 15:58:16 +0000 (17:58 +0200)
committerRoland Haeder <roland@mxchange.org>
Wed, 24 Aug 2016 19:42:03 +0000 (21:42 +0200)
- added birthday field

Signed-off-by: Roland Häder <roland@mxchange.org>
src/java/org/mxchange/jjobs/beans/contact/JobsAdminContactWebRequestBean.java
src/java/org/mxchange/localization/bundle_de_DE.properties
src/java/org/mxchange/localization/bundle_en_US.properties
web/WEB-INF/templates/admin/contact/admin_form_contact_data.tpl

index 48a96ccaf3f8ba1b899dc81755a3edc2d1da08f0..febf60e4c1b78e0ca10dd8806174b7d5d2128f40 100644 (file)
@@ -863,6 +863,7 @@ public class JobsAdminContactWebRequestBean extends BaseJobsController implement
                contact.setContactCity(this.getCity());
                contact.setContactCountry(this.getCountry());
                contact.setContactEmailAddress(this.getEmailAddress());
+               contact.setContactBirthday(this.getBirthday());
 
                // Update contact's mobile number
                this.isMobileUnlinked = ContactUtils.updateCellPhoneNumber(contact, this.getMobileProvider(), this.getMobileNumber());
index 1baa1a4f0a08fa9921074b468dc0f64df9403b4c..ac0bc648eb032b5888deed7ae7361c75ad968fb1 100644 (file)
@@ -517,7 +517,7 @@ BUTTON_ADMIN_EXPORT_CONTACTS_CSV=Alle Daten als CSV-Datei exportieren
 BUTTON_ADMIN_EXPORT_CONTACTS_XLS=Alle Daten als Excel-Datei exportieren
 LINK_ADMIN_EXPORT_CONTACT=Kontaktdaten exportieren
 LINK_ADMIN_EXPORT_CONTACT_TITLE=Kontaktdaten exportieren
-PERSONAL_DATA_BIRTHDAY=Geburtsdatum (dd.mm.jjjj):
+PERSONAL_DATA_BIRTHDAY=Geburtsdatum (tt.mm.jjjj):
 BIRTHDAY_PATTERN=dd.MM.yyyy
 INVALID_BIRTHDAY=Ung\u00fcltiges Geburtsdatum eingegeben.
 ADMIN_EXPORT_CONTACT_ID=Kontaktdaten-Id
@@ -709,3 +709,4 @@ ERROR_ADMIN_NO_PHONE_NUMBER_ENTERED=Keine Rufnummer eingegeben.
 ADMIN_PERSONAL_DATA_LAND_LINE_NUMBER=Festnetznummer:
 PAGE_TITLE_ADMIN_LIST_CONTACT_MOBILE_NUMBER=Mobilfunknummern auflisten
 ERROR_ADMIN_NO_CHANGE_ENTERED=Selben Daten wurden abgeschickt, keine \u00c4nderung durchfgef\u00fchrt.
+ADMIN_PERSONAL_DATA_BIRTHDAY=Geburtsdatum: (tt.mm.jjjj)
index fbcc51bf0185ca2ea95bc63063db59a4b7d7c568..e2911ca1949d0f542c4b84dea83986bf4b33d0a3 100644 (file)
@@ -709,3 +709,4 @@ ERROR_ADMIN_NO_PHONE_NUMBER_ENTERED=No call number entered.
 ADMIN_PERSONAL_DATA_LAND_LINE_NUMBER=Land-line number:
 PAGE_TITLE_ADMIN_LIST_CONTACT_MOBILE_NUMBER=List mobile numbers
 ERROR_ADMIN_NO_CHANGE_ENTERED=Same data has been sent, no change done.
+ADMIN_PERSONAL_DATA_BIRTHDAY=Birthday: (mm-dd-yyyy)
index 78bd88913f4e28dc71f64bee168f0c6e327d22d6..fec0539cce22848bdf3b7b3fa0f733490ae8b71c 100644 (file)
 
                                <div class="clear"></div>
                        </div>
+
+                       <div class="table_row">
+                               <div class="table_left_medium">
+                                       <h:outputLabel for="contactBirthday" value="#{msg.ADMIN_PERSONAL_DATA_BIRTHDAY}" />
+                               </div>
+
+                               <div class="table_right_medium">
+                                       <h:inputText styleClass="input" id="contactBirthday" value="#{adminContactController.birthday}" size="10" converterMessage="#{msg.INVALID_BIRTHDAY}">
+                                               <f:convertDateTime pattern="#{msg.BIRTHDAY_PATTERN}" />
+                                       </h:inputText>
+                               </div>
+
+                               <div class="clear"></div>
+
+                               <div class="error_container">
+                                       <h:message for="contactBirthday" errorClass="errors" fatalClass="errors" warnClass="errors" />
+                               </div>
+                       </div>
                </fieldset>
        </div>
 </ui:composition>