]> git.mxchange.org Git - jjobs-war.git/blob - web/WEB-INF/templates/admin/mobile/admin_mobile_data.tpl
needs to be renamed as well ... (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_DATA}" headerClass="table_header_column" styleClass="table_big" 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_MOBILE_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 rendered="#{empty showAdminLinks or showAdminLinks}">
41                         <h:outputLabel styleClass="table_data_label" value="#{msg.ADMIN_SHOW_MOBILE_LINKS}" />
42
43                         <div class="table_data_field">
44                                 <ui:include src="/WEB-INF/templates/admin/mobile/admin_mobile_links.tpl">
45                                         <ui:param name="isShowPage" value="#{isShowPage}" />
46                                 </ui:include>
47                         </div>
48                 </h:column>
49         </h:panelGrid>
50 </ui:composition>