From 735dbd4ccc3f5825ef1b31d237da388788befbd1 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 | 97 ++++++++++--------- .../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, 90 insertions(+), 48 deletions(-) create mode 100644 web/admin/contact/admin_contact_edit.xhtml diff --git a/nbproject/faces-config.NavData b/nbproject/faces-config.NavData index 480e8f98..6e950004 100644 --- a/nbproject/faces-config.NavData +++ b/nbproject/faces-config.NavData @@ -2,54 +2,55 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/java/org/mxchange/localization/bundle_de_DE.properties b/src/java/org/mxchange/localization/bundle_de_DE.properties index 9f655343..16744fcd 100644 --- a/src/java/org/mxchange/localization/bundle_de_DE.properties +++ b/src/java/org/mxchange/localization/bundle_de_DE.properties @@ -477,3 +477,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 18afff3f..d055e648 100644 --- a/src/java/org/mxchange/localization/bundle_en_US.properties +++ b/src/java/org/mxchange/localization/bundle_en_US.properties @@ -452,3 +452,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 756ec0b7..752d28c2 100644 --- a/web/WEB-INF/faces-config.xml +++ b/web/WEB-INF/faces-config.xml @@ -279,6 +279,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