]> git.mxchange.org Git - jjobs-war.git/blob - web/admin/fax/admin_fax_list.xhtml
Continued with land-line and fax numbers: (please cherry-pick)
[jjobs-war.git] / web / admin / fax / admin_fax_list.xhtml
1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2 <html
3         lang="#{localizationController.language}" xml:lang="#{localizationController.language}"
4         xmlns="http://www.w3.org/1999/xhtml"
5         xmlns:ui="http://xmlns.jcp.org/jsf/facelets"
6         xmlns:h="http://xmlns.jcp.org/jsf/html"
7         xmlns:f="http://xmlns.jcp.org/jsf/core"
8         >
9
10         <ui:composition template="/WEB-INF/templates/admin/admin_base.tpl">
11                 <ui:define name="admin_title">#{msg.PAGE_TITLE_ADMIN_LIST_CONTACT_FAX}</ui:define>
12
13                 <ui:define name="content_header">
14                         #{msg.CONTENT_TITLE_ADMIN_LIST_CONTACT_FAX}
15                 </ui:define>
16
17                 <ui:define name="content">
18                         <h:dataTable id="table_list_landlines" var="faxNumber" value="#{phoneController.allFaxNumbers()}" styleClass="table_big" headerClass="table_header_column" summary="#{msg.TABLE_SUMMARY_ADMIN_LIST_FAXS}" rendered="#{not phoneController.allFaxNumbers().isEmpty()}">
19                                 <h:column>
20                                         <f:facet name="header">
21                                                 <h:outputText value="#{msg.ADMIN_SHOW_PHONE_ID}" />
22                                         </f:facet>
23
24                                         <h:link outcome="admin_show_landline">
25                                                 <h:outputText value="#{faxNumber.phoneId}" title="#{msg.ADMIN_LINK_SHOW_SHORT_TITLE}" />
26                                                 <f:param name="phoneId" value="#{faxNumber.phoneId}" />
27                                         </h:link>
28                                 </h:column>
29
30                                 <h:column>
31                                         <f:facet name="header">
32                                                 <h:outputLabel for="phoneNumber" value="#{msg.PERSONAL_DATA_PHONE_NUMBER}" />
33
34                                                 <h:outputText id="phoneNumber" value="#{faxNumber.phoneCountry.countryAbroadDialPrefix}#{faxNumber.phoneCountry.countryPhoneCode} (#{faxNumber.phoneAreaCode}) #{faxNumber.phoneNumber}" />
35                                         </f:facet>
36                                 </h:column>
37
38                                 <h:column>
39                                         <f:facet name="header">
40                                                 <h:outputText value="#{msg.ADMIN_SHOW_PHONE_CREATED}" />
41                                         </f:facet>
42
43                                         <h:outputText value="#{faxNumber.phoneEntryCreated.time}">
44                                                 <f:convertDateTime type="both" />
45                                         </h:outputText>
46                                 </h:column>
47
48                                 <h:column>
49                                         <f:facet name="header">
50                                                 <h:outputText value="#{msg.ADMIN_SHOW_PHONE_UPDATED}" />
51                                         </f:facet>
52
53                                         <h:outputText value="#{faxNumber.phoneEntryUpdated.time}">
54                                                 <f:convertDateTime type="both" />
55                                         </h:outputText>
56                                 </h:column>
57                         </h:dataTable>
58
59                         <h:outputText styleClass="errors" value="#{msg.ADMIN_LIST_FAX_EMPTY}" rendered="#{phoneController.allFaxNumbers().isEmpty()}" />
60                 </ui:define>
61         </ui:composition>
62 </html>