]> git.mxchange.org Git - jfinancials-war.git/commitdiff
show some data for shared address books (with someone else)
authorRoland Haeder <roland@mxchange.org>
Fri, 16 Oct 2015 09:47:44 +0000 (11:47 +0200)
committerRoland Haeder <roland@mxchange.org>
Fri, 16 Oct 2015 09:47:44 +0000 (11:47 +0200)
Signed-off-by:Roland Häder <roland@mxchange.org>

web/login/login_shared_addressbooks.xhtml

index 599ad54f1df3d2454ff65c0f2c90ff09b77e82ae..f823e571967bedb1be2734c854df7d68c1688e31 100644 (file)
                                        #{msg.LOGIN_TABLE_HEADER_SHARED_ADDRESSBOOKS}
                                </div>
 
-                               <h:dataTable id="sharedAddressbooks" var="shares" value="#{shareController.allShares()}" headerClass="table_data_column" summary="#{msg.TABLE_SUMMARY_LOGIN_SHARED_ADDRESSBOOKS}" rendered="#{shareController.isSharingAddressbooks()}">
+                               <h:dataTable id="sharedAddressbooks" var="share" value="#{shareController.allShares()}" headerClass="table_data_column" summary="#{msg.TABLE_SUMMARY_LOGIN_SHARED_ADDRESSBOOKS}" rendered="#{shareController.isSharingAddressbooks()}">
+                                       <h:column>
+                                               <f:facet name="header">#{msg.SHARED_ADDRESSBOOK}</f:facet>
+                                               <h:outputText id="addressbookName" value="#{share.shareAddressbook.addressbookName}" title="#{msg.SHARED_ADDRESSBOOK_TITLE}" />
+                                       </h:column>
+
+                                       <h:column>
+                                               <f:facet name="header">#{msg.SHAREE_USER_NAME}</f:facet>
+                                               <h:outputText id="shareeUserName" value="#{share.shareUserSharee.userName}" title="#{msg.SHAREEE_USER_NAME_TITLE}" />
+                                       </h:column>
+
+                                       <h:column>
+                                               <f:facet name="header">#{msg.SHARE_CREATED}</f:facet>
+                                               <h:outputText id="shareCreated" value="#{share.shareCreated.time}" title="#{msg.SHARE_CREATED_TITLE}">
+                                                       <f:convertDateTime for="shareCreated" type="both" timeStyle="short" dateStyle="medium" />
+                                               </h:outputText>
+                                       </h:column>
                                </h:dataTable>
 
                                <h:outputText class="notice" value="#{msg.LOGIN_USER_HAS_NOT_SHARED_ADDRESSBOOKS}" rendered="#{shareController.isSharingAddressbooks() == false}" />