]> git.mxchange.org Git - addressbook-war.git/commitdiff
added more stuff for user list + updated jar(s)
authorRoland Haeder <roland@mxchange.org>
Wed, 14 Oct 2015 12:45:03 +0000 (14:45 +0200)
committerRoland Haeder <roland@mxchange.org>
Wed, 14 Oct 2015 12:56:08 +0000 (14:56 +0200)
Signed-off-by:Roland Häder <roland@mxchange.org>

lib/juser-core.jar
src/java/org/mxchange/localization/bundle_de_DE.properties
src/java/org/mxchange/localization/bundle_en_US.properties
web/login/login_own_addressbooks.xhtml
web/login/login_shared_addressbooks.xhtml
web/login/login_user_list.xhtml
web/resources/css/cssLayout.css

index 96e685b215435eea48d57c7baf4d04e46ea7de33..a260e34bc31d96d976218c0618662c9cd8ad4858 100644 (file)
Binary files a/lib/juser-core.jar and b/lib/juser-core.jar differ
index 89344e29e14a3cf6e4109e6b39ae3e20bba3d4f1..6ed629a0e00b70e355bb6f340a78eb4451ecb612 100644 (file)
@@ -206,3 +206,10 @@ PUBLIC_USER_PROFILE_FLAG=Soll Ihr Profil im Internet einsehbar sein?
 PUBLIC_USER_PROFILE_NOT_CHOOSEN_MESSAGE=Bitte w\u00e4hlen Sie aus, ob Ihr Profil im Internet sichtbar sein soll.
 PUBLIC_PROFILE_ENABLED=Ist sichtbar
 PUBLIC_PROFILE_DISABLED=Ist nicht sichtbar
+USER_ID=Benutzernummer:
+USER_NAME=Benutzername:
+USER_CREATED=Beigetreten:
+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.
index 3b49186f978beb3c3f7849e004da5a833bcdbc10..192f6ee158be511230eb59bcd1120efeaf997fb8 100644 (file)
@@ -206,3 +206,10 @@ PUBLIC_USER_PROFILE_FLAG=Should your profile be visible in Internet?
 PUBLIC_USER_PROFILE_NOT_CHOOSEN_MESSAGE=Please choose whether your profile should be visible in Internet.
 PUBLIC_PROFILE_ENABLED=Is visible
 PUBLIC_PROFILE_DISABLED=Is not visible
+USER_ID=User id:
+USER_NAME=User name:
+USER_CREATED=Joined:
+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.
index b69f47db8d209ddc7319a1972dabbb5306df7ec9..f6c414f87c2f81e8b9b146fb6e5e106d6b670ebd 100644 (file)
@@ -20,7 +20,7 @@
                                </div>
 
                                <div class="para">
-                                       <h:dataTable id="table_own_addressbooks" var="addressbook" value="#{addressbookController.allAddressbooks()}" styleClass="table" summary="#{msg.TABLE_SUMMARY_LOGIN_LIST_OWN_ADDRESSBOOKS}" rendered="#{addressbookController.hasCreatedAddressbooks()}">
+                                       <h:dataTable id="table_own_addressbooks" var="addressbook" value="#{addressbookController.allAddressbooks()}" styleClass="table" headerClass="table_data_column" summary="#{msg.TABLE_SUMMARY_LOGIN_LIST_OWN_ADDRESSBOOKS}" rendered="#{addressbookController.hasCreatedAddressbooks()}">
                                                <h:column>
                                                        <f:facet name="header">#{msg.ADDRESSBOOK_ID}</f:facet>
 
index 6dbc57d146a0c92f26e635d4bfa29f2c440bdf63..e7b3b12a29fbd75ec8cdb6de92cc8af9e48f1561 100644 (file)
@@ -19,7 +19,7 @@
                                        #{msg.LOGIN_TABLE_HEADER_SHARED_ADDRESSBOOKS}
                                </div>
 
-                               <h:dataTable id="sharedAddressbooks" summary="#{msg.TABLE_SUMMARY_LOGIN_SHARED_ADDRESSBOOKS}" var="shares" value="#{addressbookController.allShares()}" rendered="#{shareController.isSharingAddressbooks()}">
+                               <h:dataTable id="sharedAddressbooks" var="shares" value="#{addressbookController.allShares()}" headerClass="table_data_column" summary="#{msg.TABLE_SUMMARY_LOGIN_SHARED_ADDRESSBOOKS}" rendered="#{shareController.isSharingAddressbooks()}">
                                </h:dataTable>
 
                                <h:outputText class="notice" value="#{msg.LOGIN_USER_HAS_NOT_SHARED_ADDRESSBOOKS}" rendered="#{shareController.isSharingAddressbooks() == false}" />
index 28b68bef497951af4c15b506fde2dc180ae8ea72..134990f6d2b039ebeb030af2be5499c5c086714a 100644 (file)
                </ui:define>
 
                <ui:define name="content">
-                       <div class="table">
+                       <div class="table_big">
                                <div class="table_header">
                                        #{msg.LOGIN_TABLE_HEADER_USER_LIST}
                                </div>
 
-                               <h:dataTable id="userList" summary="#{msg.TABLE_SUMMARY_LOGIN_USER_LIST}" var="user" value="#{userController.allPublicUsers()}" rendered="#{userController.isPublicUserRegistered()}">
+                               <h:dataTable id="userList" var="user" value="#{userController.allPublicUsers()}" headerClass="table_header_column25" summary="#{msg.TABLE_SUMMARY_LOGIN_USER_LIST}" rendered="#{userController.isPublicUserRegistered()}">
+                                       <f:facet name="header">#{msg.USER_ID}</f:facet>
+                                       <h:link outcome="login_user_profile" value="#{user.userId}">
+                                               <f:param name="profile" value="#{user.userId}" />
+                                       </h:link>
+
+                                       <f:facet name="header">#{msg.USER_NAME}</f:facet>
+                                       <h:link outcome="login_user_profile" value="#{user.userName}">
+                                               <f:param name="profile" value="#{user.userId}" />
+                                       </h:link>
+
+                                       <f:facet name="header">#{msg.USER_CREATED}</f:facet>
+                                       <h:outputFormat id="userCreated" value="#{user.userCreated.time}" title="#{msg.USER_CREATED_TITLE}">
+                                               <f:convertDateTime for="addressbookCreated" type="both" timeStyle="short" dateStyle="medium" />
+                                       </h:outputFormat>
+
+                                       <f:facet name="header">#{msg.USER_LIST_SHARING_ADDRESSBOOKS}</f:facet>
+                                       <h:link outcome="login_list_sharing_addressbooks" value="#{msg.LINK_LOGIN_LIST_SHARING_ADDRESSBOOKS}" title="#{msg.LINK_LOGIN_LIST_SHARING_ADDRESSBOOKS_TITLE}">
+                                               <f:param name="profile" value="#{user.userId}" />
+                                       </h:link>
                                </h:dataTable>
                        </div>
                </ui:define>
index 38ebbf28123667264d7bfefbf7a8650432271d91..2a3317fce07dc898754ca424d313a0da46402f78 100644 (file)
@@ -65,6 +65,10 @@ table, .table {
        width: 500px;
 }
 
+.table_big {
+       width: 100%;
+}
+
 .table_row {
        width: 100%;
        min-height: 20px;
@@ -141,6 +145,10 @@ ul.footer_nav li.footer_copyright {
        width: 100px;
 }
 
+.table_header_column25 {
+       width: 25%;
+}
+
 .table_data_column {
        width: 100px;
 }