]> git.mxchange.org Git - jjobs-war.git/blob - web/admin/mobile/admin_mobile_list.xhtml
Please cherry-pick:
[jjobs-war.git] / web / admin / mobile / admin_mobile_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="admin_title">
11                 <h:outputText value="#{msg.PAGE_TITLE_ADMIN_LIST_CONTACT_MOBILE_NUMBER}" />
12         </ui:define>
13
14         <ui:define name="content_header">
15                 <h:outputText value="#{msg.CONTENT_TITLE_ADMIN_LIST_CONTACT_MOBILE_NUMBER}" />
16         </ui:define>
17
18         <ui:define name="content">
19                 <p:dataTable id="table-list-mobile-provider" var="mobileNumber" value="#{phoneController.allMobileNumbers()}" tableStyleClass="table table-full" paginator="true" rows="10" summary="#{msg.TABLE_SUMMARY_ADMIN_LIST_MOBILES}" emptyMessage="#{msg.ADMIN_MOBILE_NUMBER_LIST_EMPTY}">
20                         <p:column>
21                                 <f:facet name="header">
22                                         <h:outputText value="#{msg.ADMIN_ID_NUMBER}" />
23                                 </f:facet>
24
25                                 <p:link outcome="admin_show_mobile" value="#{mobileNumber.phoneId}" title="#{msg.ADMIN_LINK_SHOW_MOBILE_NUMBER_TITLE}">
26                                         <f:param name="phoneId" value="#{mobileNumber.phoneId}" />
27                                 </p:link>
28                         </p:column>
29
30                         <p:column>
31                                 <f:facet name="header">
32                                         <h:outputText value="#{msg.ADMIN_SHOW_MOBILE_PROVIDER_NAME}" />
33                                 </f:facet>
34
35                                 <p:link outcome="admin_show_mobile_provider" value="#{mobileNumber.mobileProvider.providerName}">
36                                         <f:param name="providerId" value="#{mobileNumber.mobileProvider.providerId}" />
37                                 </p:link>
38                         </p:column>
39
40                         <p:column>
41                                 <f:facet name="header">
42                                         <h:outputText value="#{msg.ADMIN_SHOW_MOBILE_NUMBER_COMPLETE}" />
43                                 </f:facet>
44
45                                 <h:outputText value="#{mobileNumber.mobileProvider.providerCountry.countryExternalDialPrefix}#{mobileNumber.mobileProvider.providerDialPrefix}-#{mobileNumber.phoneNumber}" />
46                         </p:column>
47
48                         <p:column>
49                                 <f:facet name="header">
50                                         <h:outputText value="#{msg.ADMIN_SHOW_PHONE_CREATED}" />
51                                 </f:facet>
52
53                                 <h:outputText value="#{mobileNumber.phoneEntryCreated.time}">
54                                         <f:convertDateTime type="both" />
55                                 </h:outputText>
56                         </p:column>
57
58                         <p:column>
59                                 <f:facet name="header">
60                                         <h:outputText value="#{msg.ADMIN_SHOW_PHONE_UPDATED}" />
61                                 </f:facet>
62
63                                 <h:outputText value="#{mobileNumber.phoneEntryUpdated.time}">
64                                         <f:convertDateTime type="both" />
65                                 </h:outputText>
66                         </p:column>
67                 </p:dataTable>
68         </ui:define>
69 </ui:composition>