]> git.mxchange.org Git - pizzaservice-war.git/blob - web/WEB-INF/templates/admin/cellphone/admin_cellphone_data.tpl
moved template to proper place
[pizzaservice-war.git] / web / WEB-INF / templates / admin / cellphone / admin_cellphone_data.tpl
1 <?xml version="1.0" encoding="UTF-8" ?>\r
2 <ui:composition\r
3         xmlns="http://www.w3.org/1999/xhtml"\r
4         xmlns:f="http://java.sun.com/jsf/core"\r
5         xmlns:h="http://java.sun.com/jsf/html"\r
6         xmlns:ui="http://xmlns.jcp.org/jsf/facelets">\r
7 \r
8         <h:outputText styleClass="errors" value="#{msg.ERROR_PARAMETER_CELLPHONE_NUMBER_NOT_SET}" rendered="#{empty cellphoneNumber}" />\r
9 \r
10         <h:panelGrid id="cellphone_data" summary="#{msg.ADMIN_TABLE_SUMMARY_SHOW_CELLPHONE_DATA}" headerClass="table_header_column" styleClass="table_big" columns="2" rendered="#{not empty cellphoneNumber}">\r
11                 <f:facet name="header">\r
12                         <h:outputText value="#{msg.ADMIN_HEADER_SHOW_CELLPHONE_DATA}" />\r
13                 </f:facet>\r
14 \r
15                 <h:column>\r
16                         <h:outputLabel for="cellphoneId" styleClass="data_label" value="#{msg.ADMIN_SHOW_CELLPHONE_ID}" />\r
17 \r
18                         <h:outputText id="cellphoneId" styleClass="data_field" value="#{cellphoneNumber.phoneId}" />\r
19                 </h:column>\r
20 \r
21                 <h:column>\r
22                         <h:outputLabel for="cellphoneProvider" styleClass="data_label" value="#{msg.ADMIN_SHOW_CELLPHONE_PROVIDER_NAME}" />\r
23 \r
24                         <h:link outcome="admin_show_mobile_provider">\r
25                                 <f:param name="providerId" value="#{cellphoneNumber.cellphoneProvider.providerId}" />\r
26                                 <h:outputText id="cellphoneProvider" styleClass="data_field" value="#{cellphoneNumber.cellphoneProvider.providerName}" />\r
27                         </h:link>\r
28                 </h:column>\r
29 \r
30                 <h:column>\r
31                         <h:outputLabel for="cellphoneNumber" styleClass="data_label" value="#{msg.ADMIN_SHOW_CELLPHONE_NUMBER_COMPLETE}" />\r
32 \r
33                         <h:outputText id="cellphoneNumber" styleClass="data_field" value="#{cellphoneNumber.cellphoneProvider.providerCountry.countryExternalDialPrefix}#{cellphoneNumber.cellphoneProvider.providerDialPrefix}-#{cellphoneNumber.phoneNumber}" />\r
34                 </h:column>\r
35 \r
36                 <h:column>\r
37                         <h:outputLabel styleClass="data_label" value="#{msg.ADMIN_SHOW_CELLPHONE_LINKS}" />\r
38 \r
39                         <div class="data_field">\r
40                                 <ui:fragment rendered="#{not empty contact}">\r
41                                         <ui:include src="/WEB-INF/templates/admin/cellphone/admin_cellphone_links.tpl">\r
42                                                 <ui:param name="cellphoneNumber" value="#{cellphoneNumber}" />\r
43                                                 <ui:param name="contact" value="#{contact}" />\r
44                                                 <ui:param name="isShowPage" value="#{isShowPage}" />\r
45                                         </ui:include>\r
46                                 </ui:fragment>\r
47 \r
48                                 <ui:fragment rendered="#{empty contact}">\r
49                                         <ui:include src="/WEB-INF/templates/admin/cellphone/admin_cellphone_links.tpl">\r
50                                                 <ui:param name="cellphoneNumber" value="#{cellphoneNumber}" />\r
51                                                 <ui:param name="isShowPage" value="#{isShowPage}" />\r
52                                         </ui:include>\r
53                                 </ui:fragment>\r
54                         </div>\r
55                 </h:column>\r
56         </h:panelGrid>\r
57 </ui:composition>\r