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_LAND_LINE_NUMBER}" />
12 <ui:define name="content_header">
13 <h:outputText value="#{msg.CONTENT_TITLE_ADMIN_LIST_CONTACT_LAND_LINE_NUMBER}" />
16 <ui:define name="content">
17 <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()}">
19 <f:facet name="header">
20 <h:outputText value="#{msg.ADMIN_SHOW_PHONE_ID}" />
23 <h:link outcome="admin_show_landline" value="#{landLineNumber.phoneId}" title="#{msg.ADMIN_LINK_SHOW_SHORT_TITLE}">
24 <f:param name="phoneId" value="#{landLineNumber.phoneId}" />
29 <f:facet name="header">
30 <h:outputText value="#{msg.ADMIN_SHOW_PHONE_NUMBER}" />
33 <h:outputText value="#{landLineNumber.phoneCountry.countryAbroadDialPrefix}#{landLineNumber.phoneCountry.countryPhoneCode} (#{landLineNumber.phoneAreaCode}) #{landLineNumber.phoneNumber}" />
37 <f:facet name="header">
38 <h:outputText value="#{msg.ADMIN_SHOW_PHONE_CREATED}" />
41 <h:outputText value="#{landLineNumber.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="#{landLineNumber.phoneEntryUpdated.time}">
52 <f:convertDateTime type="both" />
57 <ui:fragment rendered="#{phoneController.allLandLineNumbers().isEmpty()}">
58 <ui:include src="/WEB-INF/templates/generic/message_box.tpl">
59 <ui:param name="message" value="#{msg.ADMIN_LIST_LAND_LINE_EMPTY}" />
60 <ui:param name="styleClass" value="errors" />