1 <?xml version="1.0" encoding="UTF-8" ?>
2 <ui:composition template="/WEB-INF/templates/login/user/user_base.tpl"
3 xmlns="http://www.w3.org/1999/xhtml"
4 xmlns:ui="http://xmlns.jcp.org/jsf/facelets"
5 xmlns:h="http://xmlns.jcp.org/jsf/html"
6 xmlns:f="http://xmlns.jcp.org/jsf/core">
8 <ui:define name="login_title">
9 <h:outputText value="#{msg.PAGE_TITLE_LOGIN_SHARED_ADDRESSBOOKS}" />
12 <ui:define name="content_header">
13 <h:outputText value="#{msg.CONTENT_TITLE_LOGIN_SHARED_ADDRESSBOOKS}" />
16 <ui:define name="content">
17 <ui:fragment rendered="#{userLoginController.isUserLoggedIn()}">
19 <div class="table_header">
20 <h:outputText value="#{msg.LOGIN_TABLE_HEADER_SHARED_ADDRESSBOOKS}" />
24 <h:dataTable id="sharedAddressbooks" var="share" value="#{shareController.allShares()}" headerClass="table_data_column" summary="#{msg.TABLE_SUMMARY_LOGIN_SHARED_ADDRESSBOOKS}" rendered="#{shareController.isSharingAddressbooks()}">
26 <f:facet name="header">
27 <h:outputText value="#{msg.SHARED_ADDRESSBOOK}" />
30 <h:link outcome="user_show_addressbook" title="#{msg.LINK_SHOW_ADDRESSBOOK_TITLE}">
31 <f:param name="addressbookId" value="#{share.shareAddressbook.addressbookId}" />
32 <h:outputText id="addressbookName" value="#{share.shareAddressbook.addressbookName}" title="#{msg.SHARED_ADDRESSBOOK_TITLE}" />
37 <f:facet name="header">
38 <h:outputText value="#{msg.SHAREE_USER_NAME}" />
41 <ui:include src="/WEB-INF/templates/generic/user_profile_link.tpl">
42 <ui:param name="user" value="#{share.setShareUserSharee(shareUserSharer)}" />
47 <f:facet name="header">
48 <h:outputText value="#{msg.SHARE_CREATED}" />
51 <h:outputText id="shareCreated" value="#{share.shareCreated.time}" title="#{msg.SHARE_CREATED_TITLE}">
52 <f:convertDateTime for="shareCreated" type="both" timeStyle="short" dateStyle="medium" />
59 <h:outputText class="notice" value="#{msg.LOGIN_USER_HAS_NOT_SHARED_ADDRESSBOOKS}" rendered="#{not shareController.isSharingAddressbooks()}" />
62 <div class="table_footer">
63 <h:link id="shareAddressbook" outcome="user_list" title="#{msg.LINK_LOGIN_START_SHARING_ADDRESSBOOKS_TITLE}" value="#{msg.LINK_LOGIN_START_SHARING_ADDRESSBOOKS}" />
68 <ui:fragment rendered="#{not userLoginController.isUserLoggedIn()}">
69 <ui:include src="/WEB-INF/templates/generic/user_not_logged_in.tpl" />