]> git.mxchange.org Git - jjobs-war.git/blob - web/admin/cellphone/admin_cellphone_list.xhtml
Continued with cellphone number edit: (please cherry-pick)
[jjobs-war.git] / web / admin / cellphone / admin_cellphone_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_CELLPHONE}</ui:define>
12
13                 <ui:define name="content_header">
14                         #{msg.CONTENT_TITLE_ADMIN_LIST_CONTACT_CELLPHONE}
15                 </ui:define>
16
17                 <ui:define name="content">
18                         <h:dataTable id="table_list_cellphones" var="cellphone" value="#{phoneController.allCellphoneNumbers()}" styleClass="table_big" headerClass="table_header_column" summary="#{msg.TABLE_SUMMARY_ADMIN_LIST_CELLPHONES}" rendered="#{not phoneController.allCellphoneNumbers().isEmpty()}">
19                                 <h:column>
20                                         <f:facet name="header">
21                                                 <h:outputText value="#{msg.ADMIN_SHOW_CELLPHONE_ID}" />
22                                         </f:facet>
23
24                                         <h:link outcome="admin_show_cellphone">
25                                                 <h:outputText value="#{cellphone.phoneId}" title="#{msg.ADMIN_LINK_SHOW_SHORT_TITLE}" />
26                                                 <f:param name="phoneId" value="#{cellphone.phoneId}" />
27                                         </h:link>
28                                 </h:column>
29
30                                 <h:column>
31                                         <f:facet name="header">
32                                                 <h:outputText value="#{msg.ADMIN_SHOW_CELLPHONE_PROVIDER_NAME}" />
33                                         </f:facet>
34
35                                         <h:link outcome="admin_show_mobile_provider">
36                                                 <f:param name="providerId" value="#{cellphone.cellphoneProvider.providerId}" />
37                                                 <h:outputText value="#{cellphone.cellphoneProvider.providerName}" />
38                                         </h:link>
39                                 </h:column>
40
41                                 <h:column>
42                                         <f:facet name="header">
43                                                 <h:outputText value="#{msg.ADMIN_SHOW_CELLPHONE_NUMBER_COMPLETE}" />
44                                         </f:facet>
45
46                                         <h:outputText value="#{cellphone.cellphoneProvider.providerCountry.countryExternalDialPrefix}#{cellphone.cellphoneProvider.providerDialPrefix}-#{cellphone.phoneNumber}" />
47                                 </h:column>
48
49                                 <h:column>
50                                         <f:facet name="header">
51                                                 <h:outputText value="#{msg.ADMIN_SHOW_CELLPHONE_CREATED}" />
52                                         </f:facet>
53
54                                         <h:outputText value="#{cellphone.phoneEntryCreated.time}">
55                                                 <f:convertDateTime type="both" />
56                                         </h:outputText>
57                                 </h:column>
58
59                                 <h:column>
60                                         <f:facet name="header">
61                                                 <h:outputText value="#{msg.ADMIN_SHOW_CELLPHONE_UPDATED}" />
62                                         </f:facet>
63
64                                         <h:outputText value="#{cellphone.phoneEntryUpdated.time}">
65                                                 <f:convertDateTime type="both" />
66                                         </h:outputText>
67                                 </h:column>
68                         </h:dataTable>
69
70                         <h:outputText styleClass="errors" value="#{msg.ADMIN_LIST_CELLPHONE_EMPTY}" rendered="#{phoneController.allCellphoneNumbers().isEmpty()}" />
71                 </ui:define>
72         </ui:composition>
73 </html>