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:ui="http://xmlns.jcp.org/jsf/facelets"
5 xmlns:h="http://xmlns.jcp.org/jsf/html"
6 xmlns:f="http://xmlns.jcp.org/jsf/core">
8 <ui:define name="admin_title">
9 <h:outputText value="#{msg.PAGE_TITLE_ADMIN_LIST_CONTACT_FAX_NUMBER}" />
12 <ui:define name="content_header">
13 <h:outputText value="#{msg.CONTENT_TITLE_ADMIN_LIST_CONTACT_FAX_NUMBER}" />
16 <ui:define name="content">
17 <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 <f:facet name="header">
20 <h:outputText value="#{msg.ADMIN_SHOW_PHONE_ID}" />
23 <h:link outcome="admin_show_fax" value="#{faxNumber.phoneId}" title="#{msg.ADMIN_LINK_SHOW_SHORT_TITLE}">
24 <f:param name="phoneId" value="#{faxNumber.phoneId}" />
29 <f:facet name="header">
30 <h:outputLabel for="faxNumber" value="#{msg.ADMIN_SHOW_PHONE_NUMBER}" />
33 <h:outputText id="faxNumber" value="#{faxNumber.phoneCountry.countryAbroadDialPrefix}#{faxNumber.phoneCountry.countryPhoneCode} (#{faxNumber.phoneAreaCode}) #{faxNumber.phoneNumber}" />
37 <f:facet name="header">
38 <h:outputText value="#{msg.ADMIN_SHOW_PHONE_CREATED}" />
41 <h:outputText value="#{faxNumber.phoneEntryCreated.time}">
42 <f:convertDateTime type="both" />
47 <f:facet name="header">
48 <h:outputText value="#{msg.ADMIN_SHOW_PHONE_UPDATED}" />
51 <h:outputText value="#{faxNumber.phoneEntryUpdated.time}">
52 <f:convertDateTime type="both" />
57 <ui:fragment rendered="#{phoneController.allFaxNumbers().isEmpty()}">
58 <ui:include src="/WEB-INF/templates/generic/message_box.tpl">
59 <ui:param name="message" value="#{msg.ADMIN_LIST_FAX_NUMBER_EMPTY}" />
60 <ui:param name="styleClass" value="errors" />