From: Roland Häder Date: Wed, 24 Aug 2016 12:50:54 +0000 (+0200) Subject: Please cherry-pick: X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=401278dd7ecf1d13b8dd28efe845d32af9a4be8e;p=jjobs-war.git Please cherry-pick: - added ability to edit comment - added ability to enter comment on account creation --- diff --git a/src/java/org/mxchange/jjobs/beans/contact/JobsAdminContactWebRequestBean.java b/src/java/org/mxchange/jjobs/beans/contact/JobsAdminContactWebRequestBean.java index febf60e4..b0027aca 100644 --- a/src/java/org/mxchange/jjobs/beans/contact/JobsAdminContactWebRequestBean.java +++ b/src/java/org/mxchange/jjobs/beans/contact/JobsAdminContactWebRequestBean.java @@ -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()); diff --git a/src/java/org/mxchange/localization/bundle_de_DE.properties b/src/java/org/mxchange/localization/bundle_de_DE.properties index c99950fa..5e660eb0 100644 --- a/src/java/org/mxchange/localization/bundle_de_DE.properties +++ b/src/java/org/mxchange/localization/bundle_de_DE.properties @@ -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) diff --git a/src/java/org/mxchange/localization/bundle_en_US.properties b/src/java/org/mxchange/localization/bundle_en_US.properties index acafc02b..940e7168 100644 --- a/src/java/org/mxchange/localization/bundle_en_US.properties +++ b/src/java/org/mxchange/localization/bundle_en_US.properties @@ -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) diff --git a/web/WEB-INF/templates/admin/contact/admin_form_contact_data.tpl b/web/WEB-INF/templates/admin/contact/admin_form_contact_data.tpl index adb1845d..086d52c9 100644 --- a/web/WEB-INF/templates/admin/contact/admin_form_contact_data.tpl +++ b/web/WEB-INF/templates/admin/contact/admin_form_contact_data.tpl @@ -277,6 +277,18 @@ + +
+
+ +
+ +
+ +
+ +
+