]> git.mxchange.org Git - jjobs-war.git/commitdiff
Please cherry-pick:
authorRoland Häder <roland@mxchange.org>
Wed, 24 Aug 2016 12:50:54 +0000 (14:50 +0200)
committerRoland Haeder <roland@mxchange.org>
Wed, 24 Aug 2016 19:52:27 +0000 (21:52 +0200)
- added ability to edit comment
- added ability to enter comment on account creation

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 febf60e4c1b78e0ca10dd8806174b7d5d2128f40..b0027aca24b4f06ed7613d65274ba50b39117315 100644 (file)
@@ -864,6 +864,7 @@ public class JobsAdminContactWebRequestBean extends BaseJobsController implement
                contact.setContactCountry(this.getCountry());
                contact.setContactEmailAddress(this.getEmailAddress());
                contact.setContactBirthday(this.getBirthday());
+               contact.setContactComment(this.getComment());
 
                // Update contact's mobile number
                this.isMobileUnlinked = ContactUtils.updateCellPhoneNumber(contact, this.getMobileProvider(), this.getMobileNumber());
index c99950faa7eacdaeacb64e71d96e7a9690ec28f6..5e660eb04bb23bd2d1ea595f44b982ef04e7f902 100644 (file)
@@ -725,3 +725,4 @@ ADMIN_DELETE_LAND_LINE_NUMBER_DATA_NOTICE=Wenn Sie die Festnetznummer l\u00f6sch
 BUTTON_ADMIN_DELETE_LAND_LINE_NUMBER=Festnetznummer l\u00f6schen
 ADMIN_CONTACT_LIST_EMPTY=Keine Kontaktdaten in Datenbank gefunden.
 ADMIN_USER_LIST_EMPTY=Keine Benutzerdaten in Datenbank gefunden.
+ADMIN_PERSONAL_DATA_COMMENT=Kommentar: (optional)
index acafc02b92b44327c9e839d4d5cdfd8dc728e15d..940e71680f518987f406606cd5be195af551d3f0 100644 (file)
@@ -725,3 +725,4 @@ ADMIN_DELETE_LAND_LINE_NUMBER_DATA_NOTICE=If you delete the land-line number, it
 BUTTON_ADMIN_DELETE_LAND_LINE_NUMBER=Delete land-line number
 ADMIN_CONTACT_LIST_EMPTY=No contact data found in database.
 ADMIN_USER_LIST_EMPTY=No user data found in database.
+ADMIN_PERSONAL_DATA_COMMENT=Comment: (optional)
index adb1845db3ea5a08aed796a9f7c557cd65e7d741..086d52c9133f4de9c0b413edd00224e7f5391853 100644 (file)
                                        <h:message for="contactBirthday" errorClass="errors" fatalClass="errors" warnClass="errors" />
                                </div>
                        </div>
+
+                       <div class="table_row">
+                               <div class="table_left_medium">
+                                       <h:outputLabel for="contactComment" value="#{msg.ADMIN_PERSONAL_DATA_COMMENT}" />
+                               </div>
+
+                               <div class="table_right_medium">
+                                       <h:inputTextarea id="contactComment" styleClass="input" value="#{adminContactController.comment}" rows="7" cols="25" />
+                               </div>
+
+                               <div class="clear"></div>
+                       </div>
                </fieldset>
        </div>
 </ui:composition>