]> git.mxchange.org Git - jjobs-war.git/blob - web/WEB-INF/templates/admin/landline/admin_landline_data.tpl
Continued a bit: (please cherry-pick)
[jjobs-war.git] / web / WEB-INF / templates / admin / landline / admin_landline_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_LAND_LINE_NUMBER_NOT_SET}" rendered="#{empty beanHelper.landLineNumber}" />
9
10         <h:panelGrid id="landline_data" summary="#{msg.ADMIN_TABLE_SUMMARY_SHOW_LAND_LINE_DATA}" headerClass="table_header_column" styleClass="table_big" columns="2" rendered="#{not empty beanHelper.landLineNumber}">
11                 <f:facet name="header">
12                         <h:outputText value="#{msg.ADMIN_HEADER_SHOW_LAND_LINE_DATA}" />
13                 </f:facet>
14
15                 <h:column>
16                         <h:panelGroup>
17                                 <h:outputLabel for="landLineNumberId" styleClass="table_data_label" value="#{msg.ADMIN_SHOW_PHONE_ID}" />
18
19                                 <h:outputText id="landLineNumberId" styleClass="table_data_field" value="#{beanHelper.landLineNumber.phoneId}" />
20
21                                 <h:message for="landLineNumberId" errorClass="errors" fatalClass="errors" warnClass="errors" />
22                         </h:panelGroup>
23                 </h:column>
24
25                 <h:column>
26                         <h:outputLabel for="landLineNumber" styleClass="table_data_label" value="#{msg.ADMIN_SHOW_LAND_LINE_NUMBER_COMPLETE}" />
27
28                         <h:outputText id="landLineNumber" styleClass="table_data_field" value="#{beanHelper.landLineNumber.phoneCountry.countryAbroadDialPrefix}#{beanHelper.landLineNumber.phoneCountry.countryPhoneCode} (#{beanHelper.landLineNumber.phoneAreaCode}) #{beanHelper.landLineNumber.phoneNumber}" />
29                 </h:column>
30
31                 <h:column rendered="#{empty showAdminLinks or showAdminLinks}">
32                         <h:outputLabel styleClass="table_data_label" value="#{msg.ADMIN_SHOW_LAND_LINE_LINKS}" />
33
34                         <div class="table_data_field">
35                                 <ui:include src="/WEB-INF/templates/admin/landline/admin_landline_links.tpl">
36                                         <ui:param name="isShowPage" value="#{isShowPage}" />
37                                 </ui:include>
38                         </div>
39                 </h:column>
40         </h:panelGrid>
41 </ui:composition>