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"
9 <ui:composition template="/WEB-INF/templates/#{loginController.templateType}/#{loginController.templateType}_base.tpl">
10 <ui:define name="login_title">#{msg.PAGE_TITLE_LOGIN_SHOW_ADDRESSBOOK}</ui:define>
12 <ui:define name="content_header">
13 #{msg.CONTENT_TITLE_LOGIN_SHOW_ADDRESSBOOK}
16 <ui:define name="content">
17 <div class="table_big">
18 <div class="table_header">
19 #{msg.TABLE_HEADER_SHOW_ADDRESSBOOK}
23 <h:panelGrid headerClass="table_header" footerClass="table_footer" class="table" columns="3">
25 <f:facet name="header">#{msg.ADDRESSBOOK_ID}</f:facet>
26 <h:outputText id="addressbookId" value="#{addressbookController.addressbookId}" />
30 <f:facet name="header">#{msg.ADDRESSBOOK_NAME}</f:facet>
31 <h:outputText id="addressbookName" value="#{addressbookController.addressbookName}" />
35 <f:facet name="header">#{msg.ADDRESSBOOK_OWNER}</f:facet>
36 <h:link id="addressbookUser" outcome="user_profile" value="#{addressbookController.addressbookUser.userName}" />
40 <f:facet name="header">#{msg.ADDRESSBOOK_CREATED}</f:facet>
41 <h:outputFormat id="addressbookCreated" value="#{addressbook.addressbookCreated.time}" title="#{msg.ADDRESSBOOK_CREATED_TITLE}">
42 <f:convertDateTime for="addressbookCreated" type="both" timeStyle="short" dateStyle="medium" />
48 <div class="table_footer">
49 <ui:fragment rendered="#{addressbookController.isOwnAddressbook()}">
50 <h:link id="startSharing" outcome="login_start_sharing_addressbook" value="#{msg.LINK_LOGIN_START_SHARING_ADDRESSBOOK}" title="#{msg.LINK_LOGIN_START_SHARING_ADDRESSBOOK_TITLE}" />
53 <ui:fragment rendered="#{addressbookController.isOtherAddressbook()}">