]> git.mxchange.org Git - jjobs-war.git/blob - web/admin/mobile/admin_mobile_list.xhtml
Continued with deleting user accounts: (please cherry-pick)
[jjobs-war.git] / web / admin / mobile / admin_mobile_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">
12                         <h:outputText value="#{msg.PAGE_TITLE_ADMIN_LIST_CONTACT_MOBILE_NUMBER}" />
13                 </ui:define>
14
15                 <ui:define name="content_header">
16                         <h:outputText value="#{msg.CONTENT_TITLE_ADMIN_LIST_CONTACT_MOBILE_NUMBER}" />
17                 </ui:define>
18
19                 <ui:define name="content">
20                         <h:dataTable id="table_list_mobile" var="mobile" value="#{phoneController.allMobileNumbers()}" styleClass="table_full" headerClass="table_header_column" summary="#{msg.TABLE_SUMMARY_ADMIN_LIST_MOBILES}" rendered="#{not phoneController.allMobileNumbers().isEmpty()}">
21                                 <h:column>
22                                         <f:facet name="header">
23                                                 <h:outputText value="#{msg.ADMIN_SHOW_PHONE_ID}" />
24                                         </f:facet>
25
26                                         <h:link outcome="admin_show_mobile">
27                                                 <h:outputText value="#{mobile.phoneId}" title="#{msg.ADMIN_LINK_SHOW_SHORT_TITLE}" />
28                                                 <f:param name="phoneId" value="#{mobile.phoneId}" />
29                                         </h:link>
30                                 </h:column>
31
32                                 <h:column>
33                                         <f:facet name="header">
34                                                 <h:outputText value="#{msg.ADMIN_SHOW_MOBILE_PROVIDER_NAME}" />
35                                         </f:facet>
36
37                                         <h:link outcome="admin_show_mobile_provider">
38                                                 <f:param name="providerId" value="#{mobile.mobileProvider.providerId}" />
39                                                 <h:outputText value="#{mobile.mobileProvider.providerName}" />
40                                         </h:link>
41                                 </h:column>
42
43                                 <h:column>
44                                         <f:facet name="header">
45                                                 <h:outputText value="#{msg.ADMIN_SHOW_MOBILE_NUMBER_COMPLETE}" />
46                                         </f:facet>
47
48                                         <h:outputText value="#{mobile.mobileProvider.providerCountry.countryExternalDialPrefix}#{mobile.mobileProvider.providerDialPrefix}-#{mobile.phoneNumber}" />
49                                 </h:column>
50
51                                 <h:column>
52                                         <f:facet name="header">
53                                                 <h:outputText value="#{msg.ADMIN_SHOW_PHONE_CREATED}" />
54                                         </f:facet>
55
56                                         <h:outputText value="#{mobile.phoneEntryCreated.time}">
57                                                 <f:convertDateTime type="both" />
58                                         </h:outputText>
59                                 </h:column>
60
61                                 <h:column>
62                                         <f:facet name="header">
63                                                 <h:outputText value="#{msg.ADMIN_SHOW_PHONE_UPDATED}" />
64                                         </f:facet>
65
66                                         <h:outputText value="#{mobile.phoneEntryUpdated.time}">
67                                                 <f:convertDateTime type="both" />
68                                         </h:outputText>
69                                 </h:column>
70                         </h:dataTable>
71
72                         <ui:fragment rendered="#{phoneController.allMobileNumbers().isEmpty()}">
73                                 <ui:include src="/WEB-INF/templates/generic/message_box.tpl">
74                                         <ui:param name="message" value="#{msg.ADMIN_LIST_MOBILE_EMPTY}" />
75                                         <ui:param name="styleClass" value="errors" />
76                                 </ui:include>
77                         </ui:fragment>
78                 </ui:define>
79         </ui:composition>
80 </html>