]> git.mxchange.org Git - jjobs-war.git/blob - web/admin/landline/admin_landline_list.xhtml
Please cherry-pick:
[jjobs-war.git] / web / admin / landline / admin_landline_list.xhtml
1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2 <html
3         lang="#{localizationController.language}" xml:lang="#{localizationController.language}"
4         xmlns="http://www.w3.org/1999/xhtml"
5         xmlns:ui="http://xmlns.jcp.org/jsf/facelets"
6         xmlns:h="http://xmlns.jcp.org/jsf/html"
7         xmlns:f="http://xmlns.jcp.org/jsf/core"
8         >
9
10         <ui:composition template="/WEB-INF/templates/admin/admin_base.tpl">
11                 <ui:define name="admin_title">
12                         <h:outputText value="#{msg.PAGE_TITLE_ADMIN_LIST_CONTACT_LAND_LINE_NUMBER}" />
13                 </ui:define>
14
15                 <ui:define name="content_header">
16                         <h:outputText value="#{msg.CONTENT_TITLE_ADMIN_LIST_CONTACT_LAND_LINE_NUMBER}" />
17                 </ui:define>
18
19                 <ui:define name="content">
20                         <h:dataTable id="table_list_landline" var="landLineNumber" value="#{phoneController.allLandLineNumbers()}" styleClass="table_full" headerClass="table_header_column" summary="#{msg.TABLE_SUMMARY_ADMIN_LIST_LAND_LINES}" rendered="#{not phoneController.allLandLineNumbers().isEmpty()}">
21                                 <h:column>
22                                         <f:facet name="header">
23                                                 <h:outputText value="#{msg.ADMIN_SHOW_PHONE_ID}" />
24                                         </f:facet>
25
26                                         <h:link outcome="admin_show_landline">
27                                                 <h:outputText value="#{landLineNumber.phoneId}" title="#{msg.ADMIN_LINK_SHOW_SHORT_TITLE}" />
28                                                 <f:param name="phoneId" value="#{landLineNumber.phoneId}" />
29                                         </h:link>
30                                 </h:column>
31
32                                 <h:column>
33                                         <f:facet name="header">
34                                                 <h:outputText value="#{msg.ADMIN_SHOW_PHONE_NUMBER}" />
35                                         </f:facet>
36
37                                         <h:outputText value="#{landLineNumber.phoneCountry.countryAbroadDialPrefix}#{landLineNumber.phoneCountry.countryPhoneCode} (#{landLineNumber.phoneAreaCode}) #{landLineNumber.phoneNumber}" />
38                                 </h:column>
39
40                                 <h:column>
41                                         <f:facet name="header">
42                                                 <h:outputText value="#{msg.ADMIN_SHOW_PHONE_CREATED}" />
43                                         </f:facet>
44
45                                         <h:outputText value="#{landLineNumber.phoneEntryCreated.time}">
46                                                 <f:convertDateTime type="both" />
47                                         </h:outputText>
48                                 </h:column>
49
50                                 <h:column>
51                                         <f:facet name="header">
52                                                 <h:outputText value="#{msg.ADMIN_SHOW_PHONE_UPDATED}" />
53                                         </f:facet>
54
55                                         <h:outputText value="#{landLineNumber.phoneEntryUpdated.time}">
56                                                 <f:convertDateTime type="both" />
57                                         </h:outputText>
58                                 </h:column>
59                         </h:dataTable>
60
61                         <ui:fragment rendered="#{phoneController.allLandLineNumbers().isEmpty()}">
62                                 <ui:include src="/WEB-INF/templates/generic/message_box.tpl">
63                                         <ui:param name="message" value="#{msg.ADMIN_LIST_LAND_LINE_EMPTY}" />
64                                         <ui:param name="styleClass" value="errors" />
65                                 </ui:include>
66                         </ui:fragment>
67                 </ui:define>
68         </ui:composition>
69 </html>