]> git.mxchange.org Git - jjobs-war.git/blob - web/WEB-INF/resources/tags/admin/panel_grids/landline/admin_landline_data.tpl
Please cherry-pick:
[jjobs-war.git] / web / WEB-INF / resources / tags / admin / panel_grids / 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:widgets="http://mxchange.org/jsf/core/widgets"
5         xmlns:links="http://mxchange.org/jsf/core/links"
6         xmlns:f="http://java.sun.com/jsf/core"
7         xmlns:h="http://java.sun.com/jsf/html"
8         xmlns:ui="http://xmlns.jcp.org/jsf/facelets"
9         xmlns:p="http://primefaces.org/ui"
10         >
11
12         <!--
13         @TODO: summary="#{msg.ADMIN_TABLE_SUMMARY_SHOW_LAND_LINE_NUMBER_DATA}"
14         -->
15         <p:panelGrid columns="2" styleClass="table table-full" rendered="#{empty rendered or rendered == true}">
16                 <f:facet name="header">
17                         <h:outputText value="#{msg.ADMIN_HEADER_SHOW_LAND_LINE_NUMBER_DATA}" />
18                 </f:facet>
19
20                 <h:column>
21                         <h:panelGroup>
22                                 <p:outputLabel for="landLineNumberId" styleClass="table-data-label" value="#{msg.ADMIN_ID_NUMBER}" />
23
24                                 <h:outputText id="landLineNumberId" styleClass="table-data-field" value="#{landLineNumber.phoneId}" />
25
26                                 <p:message for="landLineNumberId" />
27                         </h:panelGroup>
28                 </h:column>
29
30                 <h:column>
31                         <p:outputLabel for="landLineNumber" styleClass="table-data-label" value="#{msg.ADMIN_SHOW_LAND_LINE_NUMBER_COMPLETE}" />
32
33                         <h:outputText id="landLineNumber" styleClass="table-data-field" value="#{landLineNumber.phoneCountry.countryAbroadDialPrefix}#{landLineNumber.phoneCountry.countryPhoneCode} (#{landLineNumber.phoneAreaCode}) #{landLineNumber.phoneNumber}" />
34                 </h:column>
35
36                 <h:column>
37                         <p:outputLabel for="landLineCreated" styleClass="table-data-label" value="#{msg.ADMIN_SHOW_PHONE_CREATED}" />
38
39                         <h:outputText id="landLineCreated" styleClass="table-data-field" value="#{landLineNumber.phoneEntryCreated.time}">
40                                 <f:convertDateTime for="contactCreated" type="both" />
41                         </h:outputText>
42                 </h:column>
43
44                 <h:column>
45                         <p:outputLabel for="landLineUpdated" styleClass="table-data-label" value="#{msg.ADMIN_SHOW_PHONE_UPDATED}" />
46
47                         <h:outputText id="landLineUpdated" styleClass="table-data-field" value="#{landLineNumber.phoneEntryUpdated.time}">
48                                 <f:convertDateTime for="contactUpdated" type="both" />
49                         </h:outputText>
50                 </h:column>
51
52                 <h:column rendered="#{empty showAdminMiniLinks or showAdminMiniLinks == true}">
53                         <p:outputLabel styleClass="table-data-label" value="#{msg.ADMIN_SHOW_ADMINISTRATIVE_LINKS}" />
54
55                         <h:panelGroup styleClass="table-data-field" layout="block">
56                                 <links:outputLandLineNumberAdminMiniLinks landLineNumber="#{landLineNumber}" contact="#{contact}" renderShowLink="#{renderShowLink}" />
57                         </h:panelGroup>
58                 </h:column>
59         </p:panelGrid>
60 </ui:composition>