]> git.mxchange.org Git - addressbook-war.git/blob - web/login/login_shared_addressbooks.xhtml
added notice about if the user is not sharing address books as this is the secondary...
[addressbook-war.git] / web / login / login_shared_addressbooks.xhtml
1 <?xml version="1.0" encoding="UTF-8" ?>
2 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
3 <html xmlns="http://www.w3.org/1999/xhtml"
4           xmlns:ui="http://java.sun.com/jsf/facelets"
5           xmlns:h="http://xmlns.jcp.org/jsf/html"
6           xmlns:f="http://xmlns.jcp.org/jsf/core"
7           >
8
9         <ui:composition template="/WEB-INF/templates/login/login_base.tpl">
10                 <ui:define name="login_title">#{msg.PAGE_TITLE_LOGIN_SHARED_ADDRESSBOOKS}</ui:define>
11
12                 <ui:define name="content_header">
13                         #{msg.CONTENT_TITLE_LOGIN_SHARED_ADDRESSBOOKS}
14                 </ui:define>
15
16                 <ui:define name="content">
17                         <div class="table">
18                                 <div class="table_header">
19                                         #{msg.LOGIN_TABLE_HEADER_SHARED_ADDRESSBOOKS}
20                                 </div>
21
22                                 <h:dataTable id="sharedAddressbooks" summary="#{msg.TABLE_SUMMARY_SHARED_ADDRESSBOOKS}" var="shares" value="#{addressbookController.allShares()}" rendered="#{shareController.isSharingAddressbooks()}">
23                                 </h:dataTable>
24
25                                 <h:outputText class="notice" value="#{msg.LOGIN_USER_HAS_NOT_SHARED_ADDRESSBOOKS}" rendered="#{shareController.isSharingAddressbooks() == false}" />
26
27                                 <div class="table_footer">
28                                         <h:link id="shareAddressbook" outcome="login_user_list" title="#{msg.LINK_LOGIN_START_SHARING_ADDRESSBOOKS_TITLE}" value="#{msg.LINK_LOGIN_START_SHARING_ADDRESSBOOKS}" />
29                                 </div>
30                         </div>
31                 </ui:define>
32         </ui:composition>
33 </html>