From 61aa05eb461ef2bcd941599c239b350f45e13ace Mon Sep 17 00:00:00 2001 From: Roland Haeder Date: Mon, 18 Apr 2016 22:03:23 +0200 Subject: [PATCH] Added page (dummy) for editing contact data MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Roland Häder --- nbproject/faces-config.NavData | 106 +++++++++--------- .../localization/bundle_de_DE.properties | 5 + .../localization/bundle_en_US.properties | 4 + web/WEB-INF/faces-config.xml | 4 + .../templates/admin/user/admin_user_links.tpl | 6 + web/admin/contact/admin_contact_edit.xhtml | 22 ++++ 6 files changed, 93 insertions(+), 54 deletions(-) create mode 100644 web/admin/contact/admin_contact_edit.xhtml diff --git a/nbproject/faces-config.NavData b/nbproject/faces-config.NavData index 476510b5..70c4286a 100644 --- a/nbproject/faces-config.NavData +++ b/nbproject/faces-config.NavData @@ -2,61 +2,59 @@ - - - - - + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/java/org/mxchange/localization/bundle_de_DE.properties b/src/java/org/mxchange/localization/bundle_de_DE.properties index 9c779bf2..f1120bc4 100644 --- a/src/java/org/mxchange/localization/bundle_de_DE.properties +++ b/src/java/org/mxchange/localization/bundle_de_DE.properties @@ -507,3 +507,8 @@ ADMIN_SHOW_CELLPHONE_UNLINK=Trennen: ADMIN_SHOW_CONTACT_ID=Kontakt-Id: PAGE_TITLE_ADMIN_SHOW_CONTACT=Kontaktdaten anzeigen CONTENT_TITLE_ADMIN_SHOW_CONTACT=Kontaktdaten anzeigen: +PAGE_TITLE_ADMIN_EDIT_CONTACT=Kontaktdaten editieren +CONTENT_TITLE_ADMIN_EDIT_CONTACT=Kontaktdaten editieren: +ADMIN_LINK_EDIT_CONTACT=Kontaktdaten editieren +#@TODO Please fix German umlauts! +ADMIN_LINK_EDIT_CONTACT_TITLE=Hier koennen Sie die Kontaktdaten editieren. diff --git a/src/java/org/mxchange/localization/bundle_en_US.properties b/src/java/org/mxchange/localization/bundle_en_US.properties index 2975f99b..66c00523 100644 --- a/src/java/org/mxchange/localization/bundle_en_US.properties +++ b/src/java/org/mxchange/localization/bundle_en_US.properties @@ -482,3 +482,7 @@ ADMIN_SHOW_CELLPHONE_UNLINK=Unlink: ADMIN_SHOW_CONTACT_ID=Contact id: PAGE_TITLE_ADMIN_SHOW_CONTACT=Show contact data CONTENT_TITLE_ADMIN_SHOW_CONTACT=Show contact data: +PAGE_TITLE_ADMIN_EDIT_CONTACT=Edit contact data +CONTENT_TITLE_ADMIN_EDIT_CONTACT=Edit contact data: +ADMIN_LINK_EDIT_CONTACT=Edit contact data +ADMIN_LINK_EDIT_CONTACT_TITLE=Here you can edit contact data. diff --git a/web/WEB-INF/faces-config.xml b/web/WEB-INF/faces-config.xml index 6d113733..c0b80194 100644 --- a/web/WEB-INF/faces-config.xml +++ b/web/WEB-INF/faces-config.xml @@ -296,6 +296,10 @@ admin_unlock_user /admin/user/admin_user_unlock.xhtml + + admin_edit_contact + /admin/contact/admin_contact_edit.xhtml + admin_show_mobile_provider /admin/mobile_provider/admin_mobile_provider_show.xhtml diff --git a/web/WEB-INF/templates/admin/user/admin_user_links.tpl b/web/WEB-INF/templates/admin/user/admin_user_links.tpl index 6ef73140..0c66c586 100644 --- a/web/WEB-INF/templates/admin/user/admin_user_links.tpl +++ b/web/WEB-INF/templates/admin/user/admin_user_links.tpl @@ -21,6 +21,12 @@ +
  • + + + +
  • +
  • diff --git a/web/admin/contact/admin_contact_edit.xhtml b/web/admin/contact/admin_contact_edit.xhtml new file mode 100644 index 00000000..9397ecfd --- /dev/null +++ b/web/admin/contact/admin_contact_edit.xhtml @@ -0,0 +1,22 @@ + + + + + + #{msg.PAGE_TITLE_ADMIN_EDIT_CONTACT} + + + #{msg.CONTENT_TITLE_ADMIN_EDIT_CONTACT} + + + + Here goes your content. + + + -- 2.39.5