]> git.mxchange.org Git - jjobs-war.git/blob - web/WEB-INF/templates/admin/mobile/admin_mobile_data.tpl
Please cherry-pick:
[jjobs-war.git] / web / WEB-INF / templates / admin / mobile / admin_mobile_data.tpl
1 <?xml version="1.0" encoding="UTF-8" ?>
2 <ui:composition
3         xmlns="http://www.w3.org/1999/xhtml"
4         xmlns:f="http://java.sun.com/jsf/core"
5         xmlns:h="http://java.sun.com/jsf/html"
6         xmlns:ui="http://xmlns.jcp.org/jsf/facelets">
7
8         <h:outputText styleClass="errors" value="#{msg.ERROR_BEAN_HELPER_MOBILE_NUMBER_NOT_SET}" rendered="#{empty beanHelper.mobileNumber}" />
9
10         <h:panelGrid id="mobile_data" summary="#{msg.ADMIN_TABLE_SUMMARY_SHOW_MOBILE_NUMBER_DATA}" headerClass="table_header_column" styleClass="table_medium" columns="2" rendered="#{not empty beanHelper.mobileNumber}">
11                 <f:facet name="header">
12                         <h:outputText value="#{msg.ADMIN_HEADER_SHOW_MOBILE_DATA}" />
13                 </f:facet>
14
15                 <h:column>
16                         <h:panelGroup>
17                                 <h:outputLabel for="mobileNumberId" styleClass="table_data_label" value="#{msg.ADMIN_SHOW_PHONE_ID}" />
18
19                                 <h:outputText id="mobileNumberId" styleClass="table_data_field" value="#{beanHelper.mobileNumber.phoneId}" />
20
21                                 <h:message for="mobileNumberId" errorClass="errors" fatalClass="errors" warnClass="errors" />
22                         </h:panelGroup>
23                 </h:column>
24
25                 <h:column>
26                         <h:outputLabel for="mobileProvider" styleClass="table_data_label" value="#{msg.ADMIN_SHOW_MOBILE_PROVIDER_NAME}" />
27
28                         <h:link outcome="admin_show_mobile_provider">
29                                 <f:param name="providerId" value="#{beanHelper.mobileNumber.mobileProvider.providerId}" />
30                                 <h:outputText id="mobileProvider" styleClass="table_data_field" value="#{beanHelper.mobileNumber.mobileProvider.providerName}" />
31                         </h:link>
32                 </h:column>
33
34                 <h:column>
35                         <h:outputLabel for="mobileNumber" styleClass="table_data_label" value="#{msg.ADMIN_SHOW_MOBILE_NUMBER_COMPLETE}" />
36
37                         <h:outputText id="mobileNumber" styleClass="table_data_field" value="#{beanHelper.mobileNumber.mobileProvider.providerCountry.countryExternalDialPrefix}#{beanHelper.mobileNumber.mobileProvider.providerDialPrefix}-#{beanHelper.mobileNumber.phoneNumber}" />
38                 </h:column>
39
40                 <h:column>
41                         <h:outputLabel for="mobileCreated" styleClass="table_data_label" value="#{msg.ADMIN_SHOW_PHONE_CREATED}" />
42
43                         <h:outputText id="mobileCreated" styleClass="table_data_field" value="#{beanHelper.mobileNumber.phoneEntryCreated.time}">
44                                 <f:convertDateTime for="contactCreated" type="both" />
45                         </h:outputText>
46                 </h:column>
47
48                 <h:column>
49                         <h:outputLabel for="mobileUpdated" styleClass="table_data_label" value="#{msg.ADMIN_SHOW_PHONE_UPDATED}" />
50
51                         <h:outputText id="mobileUpdated" styleClass="table_data_field" value="#{beanHelper.mobileNumber.phoneEntryUpdated.time}">
52                                 <f:convertDateTime for="contactUpdated" type="both" />
53                         </h:outputText>
54                 </h:column>
55
56                 <h:column rendered="#{empty showAdminLinks or showAdminLinks}">
57                         <h:outputLabel styleClass="table_data_label" value="#{msg.ADMIN_SHOW_ADMINISTRATIVE_LINKS}" />
58
59                         <div class="table_data_field">
60                                 <ui:include src="/WEB-INF/templates/admin/mobile/admin_mobile_links.tpl">
61                                         <ui:param name="isShowPage" value="#{isShowPage}" />
62                                 </ui:include>
63                         </div>
64                 </h:column>
65         </h:panelGrid>
66 </ui:composition>