From: Roland Häder Date: Fri, 22 Apr 2016 14:20:11 +0000 (+0200) Subject: Continued with rewriting: X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=0ee03b745e2191faed5a5d4d55b5bff6e8623ba2;p=jfinancials-war.git Continued with rewriting: - rewrote to ContactUtils.updateFooNumber() - added missing attributes for above functions - added check for contactId against null - fixed converter (must be ContactConverter) + instance from helper - edit_contact title is now a pattern with id number as only parameter - adminUserController was wrong, use adminContactController for contact-relevant stuff - added missing i18n strings Signed-off-by: Roland Häder --- diff --git a/src/java/org/mxchange/localization/bundle_de_DE.properties b/src/java/org/mxchange/localization/bundle_de_DE.properties index 3ed960a6..95310d78 100644 --- a/src/java/org/mxchange/localization/bundle_de_DE.properties +++ b/src/java/org/mxchange/localization/bundle_de_DE.properties @@ -449,3 +449,5 @@ BUTTON_ADMIN_EDIT_USER=Benutzerdaten \u00e4ndern ADMIN_EDIT_USER_TITLE=Benutzerdaten editieren ADMIN_USER_DATA_PASSWORD_EDIT_NOTICE=Wenn Sie das Passwort \u00e4ndern wollen, m\u00fcssen Sie es zweimal eingeben, anderfalls beide leer lassen. ERROR_PARAMETER_MODE_NOT_SET=Fehler: Parameter 'modus' nicht gesetzt. +ADMIN_EDIT_CONTACT_TITLE=Kontaktdaten editieren (Id-Nummer: {0}) +BUTTON_ADMIN_EDIT_CONTACT=Kontaktdaten \u00e4ndern diff --git a/src/java/org/mxchange/localization/bundle_en_US.properties b/src/java/org/mxchange/localization/bundle_en_US.properties index f1c4b8aa..372eb0bb 100644 --- a/src/java/org/mxchange/localization/bundle_en_US.properties +++ b/src/java/org/mxchange/localization/bundle_en_US.properties @@ -422,3 +422,5 @@ BUTTON_ADMIN_EDIT_USER=Change user data ADMIN_EDIT_USER_TITLE=Edit user data ADMIN_USER_DATA_PASSWORD_EDIT_NOTICE=If you want to change the password, enter it twice, otherwise leave both empty. ERROR_PARAMETER_MODE_NOT_SET=Error: Parameter 'modus' is not set. +ADMIN_EDIT_CONTACT_TITLE=Edit contact data (id number: {0}) +BUTTON_ADMIN_EDIT_CONTACT=Change contact data diff --git a/web/admin/contact/admin_contact_edit.xhtml b/web/admin/contact/admin_contact_edit.xhtml index 386f9ea2..d2e7ea01 100644 --- a/web/admin/contact/admin_contact_edit.xhtml +++ b/web/admin/contact/admin_contact_edit.xhtml @@ -26,7 +26,9 @@
- #{msg.ADMIN_EDIT_CONTACT_TITLE} + + +
@@ -39,7 +41,7 @@