From aa384090be56187818a44eb206808a278778fce8 Mon Sep 17 00:00:00 2001 From: Roland Haeder Date: Wed, 14 Oct 2015 15:17:48 +0200 Subject: [PATCH] =?utf8?q?added=20user=5Fprofile.xhtml=20and=20login=5Fsha?= =?utf8?q?red=5Faddressbooks.xhtml=20+=20their=20i18n=20strings=20Signed-o?= =?utf8?q?ff-by:Roland=20H=C3=A4der=20?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- .../localization/bundle_de_DE.properties | 4 ++++ .../localization/bundle_en_US.properties | 4 ++++ web/WEB-INF/faces-config.xml | 23 ++++++++++++++----- .../login_list_sharing_addressbooks.xhtml | 20 ++++++++++++++++ web/login/login_user_list.xhtml | 4 ++-- web/user/user_profile.xhtml | 20 ++++++++++++++++ 6 files changed, 67 insertions(+), 8 deletions(-) create mode 100644 web/login/login_list_sharing_addressbooks.xhtml create mode 100644 web/user/user_profile.xhtml diff --git a/src/java/org/mxchange/localization/bundle_de_DE.properties b/src/java/org/mxchange/localization/bundle_de_DE.properties index 6ed629a0..91451aa9 100644 --- a/src/java/org/mxchange/localization/bundle_de_DE.properties +++ b/src/java/org/mxchange/localization/bundle_de_DE.properties @@ -213,3 +213,7 @@ USER_CREATED_TITLE=Wann der Benutzer dieser Community beigetreten ist. USER_LIST_SHARING_ADDRESSBOOKS=Freigegebene Adressb\u00fccher: LINK_LOGIN_LIST_SHARING_ADDRESSBOOKS=Auflisten LINK_LOGIN_LIST_SHARING_ADDRESSBOOKS_TITLE=Listet alle mit dem Benutzer geteilte Adressb\u00fccher auf. +PAGE_TITLE_INDEX_USER_PROFILE=Benutzerprofil +CONTENT_TITLE_INDEX_USER_PROFILE=\u00d6ffentliches Profil des Benutzers: +PAGE_TITLE_LOGIN_LIST_SHARING_ADDRESSBOOKS=Mit einem Benutzer geteilte Adressb\u00fccher +CONTENT_TITLE_LOGIN_LIST_SHARING_ADDRESSBOOKS=Mit einem Benutzer geteilte Adressb\u00fccher auflisten: diff --git a/src/java/org/mxchange/localization/bundle_en_US.properties b/src/java/org/mxchange/localization/bundle_en_US.properties index 192f6ee1..1b3b06ad 100644 --- a/src/java/org/mxchange/localization/bundle_en_US.properties +++ b/src/java/org/mxchange/localization/bundle_en_US.properties @@ -213,3 +213,7 @@ USER_CREATED_TITLE=When the user has joined this community. USER_LIST_SHARING_ADDRESSBOOKS=Shared address books: LINK_LOGIN_LIST_SHARING_ADDRESSBOOKS=List LINK_LOGIN_LIST_SHARING_ADDRESSBOOKS_TITLE=Lists all with this user shared address books. +PAGE_TITLE_INDEX_USER_PROFILE=User profile +CONTENT_TITLE_INDEX_USER_PROFILE=Public profile of the user: +PAGE_TITLE_LOGIN_LIST_SHARING_ADDRESSBOOKS=With a user shared address books +CONTENT_TITLE_LOGIN_LIST_SHARING_ADDRESSBOOKS=List with a user shared address books: diff --git a/web/WEB-INF/faces-config.xml b/web/WEB-INF/faces-config.xml index e3cc2c23..79a7df9f 100644 --- a/web/WEB-INF/faces-config.xml +++ b/web/WEB-INF/faces-config.xml @@ -3,6 +3,12 @@ xmlns="http://xmlns.jcp.org/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://xmlns.jcp.org/xml/ns/javaee http://xmlns.jcp.org/xml/ns/javaee/web-facesconfig_2_2.xsd"> + + + de + en_US + + PrivacyTermsCheckboxValidator org.mxchange.jcoreee.validator.bool.privacy_terms.PrivacyTermsCheckboxValidator @@ -101,6 +107,10 @@ login_shared_addressbooks /login/login_shared_addressbooks.xhtml + + user_profile + /user/user_profile.xhtml + /user/login.xhtml @@ -138,10 +148,11 @@ /login/login_show_addressbook_entries.xhtml - - - de - en_US - - + + /login/login_user_list.xhtml + + login_list_sharing_addressbooks + /login/login_shared_addressbooks.xhtml + + diff --git a/web/login/login_list_sharing_addressbooks.xhtml b/web/login/login_list_sharing_addressbooks.xhtml new file mode 100644 index 00000000..34c13e5b --- /dev/null +++ b/web/login/login_list_sharing_addressbooks.xhtml @@ -0,0 +1,20 @@ + + + + + + #{msg.PAGE_TITLE_LOGIN_LIST_SHARING_ADDRESSBOOKS} + + + #{msg.CONTENT_TITLE_LOGIN_LIST_SHARING_ADDRESSBOOKS} + + + + Here goes your content. + + + diff --git a/web/login/login_user_list.xhtml b/web/login/login_user_list.xhtml index 8c53529f..d2e48541 100644 --- a/web/login/login_user_list.xhtml +++ b/web/login/login_user_list.xhtml @@ -22,14 +22,14 @@ #{msg.USER_ID} - + #{msg.USER_NAME} - + diff --git a/web/user/user_profile.xhtml b/web/user/user_profile.xhtml new file mode 100644 index 00000000..4866ab0f --- /dev/null +++ b/web/user/user_profile.xhtml @@ -0,0 +1,20 @@ + + + + + + #{msg.PAGE_TITLE_INDEX_USER_PROFILE} + + + #{msg.CONTENT_TITLE_INDEX_USER_PROFILE} + + + + Here goes your content. + + + -- 2.39.5