]> git.mxchange.org Git - addressbook-war.git/blob - web/login/login_show_addressbook.xhtml
Fixed german umlauts and links + i18n strings
[addressbook-war.git] / web / login / login_show_addressbook.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/#{loginController.templateType}/#{loginController.templateType}_base.tpl">
10                 <ui:define name="login_title">#{msg.PAGE_TITLE_LOGIN_SHOW_ADDRESSBOOK}</ui:define>
11
12                 <ui:define name="content_header">
13                         #{msg.CONTENT_TITLE_LOGIN_SHOW_ADDRESSBOOK}
14                 </ui:define>
15
16                 <ui:define name="content">
17                         <div class="table_big">
18                                 <div class="table_header">
19                                         #{msg.TABLE_HEADER_SHOW_ADDRESSBOOK}
20                                 </div>
21
22                                 <div class="para">
23                                         <h:panelGrid headerClass="table_header" footerClass="table_footer" class="table" columns="3">
24                                                 <h:column>
25                                                         <f:facet name="header">#{msg.ADDRESSBOOK_ID}</f:facet>
26                                                         <h:outputText id="addressbookId" value="#{addressbookController.addressbookId}" />
27                                                 </h:column>
28
29                                                 <h:column>
30                                                         <f:facet name="header">#{msg.ADDRESSBOOK_NAME}</f:facet>
31                                                         <h:outputText id="addressbookName" value="#{addressbookController.addressbookName}" />
32                                                 </h:column>
33
34                                                 <h:column>
35                                                         <f:facet name="header">#{msg.ADDRESSBOOK_OWNER}</f:facet>
36                                                         <h:link id="addressbookUser" outcome="user_profile" value="#{addressbookController.addressbookUser.userName}" />
37                                                 </h:column>
38
39                                                 <h:column>
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" />
43                                                         </h:outputFormat>
44                                                 </h:column>
45                                         </h:panelGrid>
46                                 </div>
47
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}" />
51                                         </ui:fragment>
52
53                                         <ui:fragment rendered="#{addressbookController.isOtherAddressbook()}">
54                                                 Bla bla
55                                         </ui:fragment>
56                                 </div>
57                         </div>
58                 </ui:define>
59         </ui:composition>
60 </html>