]> git.mxchange.org Git - jjobs-war.git/blob - web/admin/fax/admin_fax_list.xhtml
Please cherry-pick:
[jjobs-war.git] / web / admin / fax / admin_fax_list.xhtml
1 <?xml version="1.0" encoding="UTF-8" ?>
2 <ui:composition template="/WEB-INF/templates/admin/admin_base.tpl"
3                                 xmlns="http://www.w3.org/1999/xhtml"
4                                 xmlns:widgets="http://mxchange.org/jsf/core/widgets"
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                                 xmlns:p="http://primefaces.org/ui">
9
10         <ui:define name="document_admin_title">
11                 <h:outputText value="#{msg.PAGE_TITLE_ADMIN_LIST_CONTACT_FAX_NUMBER}" />
12         </ui:define>
13
14         <ui:define name="content_header">
15                 <h:outputText value="#{msg.CONTENT_TITLE_ADMIN_LIST_CONTACT_FAX_NUMBER}" />
16         </ui:define>
17
18         <ui:define name="content">
19                 <p:dataTable
20                         id="table_list_fax"
21                         var="faxNumber"
22                         value="#{phoneController.allFaxNumbers()}"
23                         tableStyleClass="table table-full"
24                         paginator="true"
25                         rows="10"
26                         summary="#{msg.TABLE_SUMMARY_ADMIN_LIST_FAXS}"
27                         emptyMessage="#{msg.ADMIN_EMPTY_LIST_FAX_NUMBER}"
28                         >
29                         <p:column>
30                                 <f:facet name="header">
31                                         <h:outputText value="#{msg.ADMIN_ID_NUMBER}" />
32                                 </f:facet>
33
34                                 <p:link outcome="admin_show_fax" value="#{faxNumber.phoneId}" title="#{msg.ADMIN_LINK_SHOW_FAX_NUMBER_TITLE}">
35                                         <f:param name="phoneId" value="#{faxNumber.phoneId}" />
36                                 </p:link>
37                         </p:column>
38
39                         <p:column>
40                                 <f:facet name="header">
41                                         <p:outputLabel for="faxNumber" value="#{msg.ADMIN_SHOW_PHONE_NUMBER}" />
42                                 </f:facet>
43
44                                 <h:outputText id="faxNumber" value="#{faxNumber.phoneCountry.countryAbroadDialPrefix}#{faxNumber.phoneCountry.countryPhoneCode} (#{faxNumber.phoneAreaCode}) #{faxNumber.phoneNumber}" />
45                         </p:column>
46
47                         <p:column>
48                                 <f:facet name="header">
49                                         <h:outputText value="#{msg.ADMIN_SHOW_PHONE_CREATED}" />
50                                 </f:facet>
51
52                                 <h:outputText value="#{faxNumber.phoneEntryCreated.time}">
53                                         <f:convertDateTime type="both" />
54                                 </h:outputText>
55                         </p:column>
56
57                         <p:column>
58                                 <f:facet name="header">
59                                         <h:outputText value="#{msg.ADMIN_SHOW_PHONE_UPDATED}" />
60                                 </f:facet>
61
62                                 <h:outputText value="#{faxNumber.phoneEntryUpdated.time}">
63                                         <f:convertDateTime type="both" />
64                                 </h:outputText>
65                         </p:column>
66                 </p:dataTable>
67         </ui:define>
68 </ui:composition>