]> git.mxchange.org Git - jjobs-war.git/blob - web/admin/fax/admin_fax_list.xhtml
Please cherry-pick:
[jjobs-war.git] / web / admin / fax / admin_fax_list.xhtml
1 <?xml version="1.0" encoding="UTF-8" ?>
2 <ui:composition template="/WEB-INF/templates/admin/admin_base.tpl"
3                                 xmlns="http://www.w3.org/1999/xhtml"
4                                 xmlns:widgets="http://mxchange.org/jsf/core/widgets"
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         <ui:define name="admin_title">
10                 <h:outputText value="#{msg.PAGE_TITLE_ADMIN_LIST_CONTACT_FAX_NUMBER}" />
11         </ui:define>
12
13         <ui:define name="content_header">
14                 <h:outputText value="#{msg.CONTENT_TITLE_ADMIN_LIST_CONTACT_FAX_NUMBER}" />
15         </ui:define>
16
17         <ui:define name="content">
18                 <h:dataTable id="table_list_fax" var="faxNumber" value="#{phoneController.allFaxNumbers()}" styleClass="table-full" headerClass="table-header-column" summary="#{msg.TABLE_SUMMARY_ADMIN_LIST_FAXS}" rendered="#{not phoneController.allFaxNumbers().isEmpty()}">
19                         <h:column>
20                                 <f:facet name="header">
21                                         <h:outputText value="#{msg.ADMIN_SHOW_PHONE_ID}" />
22                                 </f:facet>
23
24                                 <h:link outcome="admin_show_fax" value="#{faxNumber.phoneId}" title="#{msg.ADMIN_LINK_SHOW_SHORT_TITLE}">
25                                         <f:param name="phoneId" value="#{faxNumber.phoneId}" />
26                                 </h:link>
27                         </h:column>
28
29                         <h:column>
30                                 <f:facet name="header">
31                                         <h:outputLabel for="faxNumber" value="#{msg.ADMIN_SHOW_PHONE_NUMBER}" />
32                                 </f:facet>
33
34                                 <h:outputText id="faxNumber" value="#{faxNumber.phoneCountry.countryAbroadDialPrefix}#{faxNumber.phoneCountry.countryPhoneCode} (#{faxNumber.phoneAreaCode}) #{faxNumber.phoneNumber}" />
35                         </h:column>
36
37                         <h:column>
38                                 <f:facet name="header">
39                                         <h:outputText value="#{msg.ADMIN_SHOW_PHONE_CREATED}" />
40                                 </f:facet>
41
42                                 <h:outputText value="#{faxNumber.phoneEntryCreated.time}">
43                                         <f:convertDateTime type="both" />
44                                 </h:outputText>
45                         </h:column>
46
47                         <h:column>
48                                 <f:facet name="header">
49                                         <h:outputText value="#{msg.ADMIN_SHOW_PHONE_UPDATED}" />
50                                 </f:facet>
51
52                                 <h:outputText value="#{faxNumber.phoneEntryUpdated.time}">
53                                         <f:convertDateTime type="both" />
54                                 </h:outputText>
55                         </h:column>
56                 </h:dataTable>
57
58                 <widgets:outputMessageBox message="#{msg.ADMIN_LIST_FAX_NUMBER_EMPTY}" styleClass="alert-danger" rendered="#{phoneController.allFaxNumbers().isEmpty()}" />
59         </ui:define>
60 </ui:composition>