]> git.mxchange.org Git - jjobs-war.git/blob - web/admin/landline/admin_landline_list.xhtml
Please cherry-pick:
[jjobs-war.git] / web / admin / landline / admin_landline_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_LAND_LINE_NUMBER}" />
12         </ui:define>
13
14         <ui:define name="content_header">
15                 <h:outputText value="#{msg.CONTENT_TITLE_ADMIN_LIST_CONTACT_LAND_LINE_NUMBER}" />
16         </ui:define>
17
18         <ui:define name="content">
19                 <p:dataTable
20                         id="table_list_landline"
21                         var="landLineNumber"
22                         value="#{phoneController.allLandLineNumbers()}"
23                         tableStyleClass="table table-full"
24                         paginator="true"
25                         rows="10"
26                         summary="#{msg.TABLE_SUMMARY_ADMIN_LIST_LAND_LINES}"
27                         emptyMessage="#{msg.ADMIN_EMPTY_LIST_LANDLINE_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_landline" value="#{landLineNumber.phoneId}" title="#{msg.ADMIN_LINK_SHOW_LANDLINE_NUMBER_TITLE}">
35                                         <f:param name="phoneId" value="#{landLineNumber.phoneId}" />
36                                 </p:link>
37                         </p:column>
38
39                         <p:column>
40                                 <f:facet name="header">
41                                         <h:outputText value="#{msg.ADMIN_SHOW_PHONE_NUMBER}" />
42                                 </f:facet>
43
44                                 <h:outputText value="#{landLineNumber.phoneCountry.countryAbroadDialPrefix}#{landLineNumber.phoneCountry.countryPhoneCode} (#{landLineNumber.phoneAreaCode}) #{landLineNumber.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="#{landLineNumber.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="#{landLineNumber.phoneEntryUpdated.time}">
63                                         <f:convertDateTime type="both" />
64                                 </h:outputText>
65                         </p:column>
66                 </p:dataTable>
67         </ui:define>
68 </ui:composition>