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">
9 <ui:define name="admin_title">
10 <h:outputText value="#{msg.PAGE_TITLE_ADMIN_LIST_CONTACT_LAND_LINE_NUMBER}" />
13 <ui:define name="content_header">
14 <h:outputText value="#{msg.CONTENT_TITLE_ADMIN_LIST_CONTACT_LAND_LINE_NUMBER}" />
17 <ui:define name="content">
18 <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()}">
20 <f:facet name="header">
21 <h:outputText value="#{msg.ADMIN_ID_NUMBER}" />
24 <h:link outcome="admin_show_landline" value="#{landLineNumber.phoneId}" title="#{msg.ADMIN_LINK_SHOW_SHORT_TITLE}">
25 <f:param name="phoneId" value="#{landLineNumber.phoneId}" />
30 <f:facet name="header">
31 <h:outputText value="#{msg.ADMIN_SHOW_PHONE_NUMBER}" />
34 <h:outputText value="#{landLineNumber.phoneCountry.countryAbroadDialPrefix}#{landLineNumber.phoneCountry.countryPhoneCode} (#{landLineNumber.phoneAreaCode}) #{landLineNumber.phoneNumber}" />
38 <f:facet name="header">
39 <h:outputText value="#{msg.ADMIN_SHOW_PHONE_CREATED}" />
42 <h:outputText value="#{landLineNumber.phoneEntryCreated.time}">
43 <f:convertDateTime type="both" />
48 <f:facet name="header">
49 <h:outputText value="#{msg.ADMIN_SHOW_PHONE_UPDATED}" />
52 <h:outputText value="#{landLineNumber.phoneEntryUpdated.time}">
53 <f:convertDateTime type="both" />
58 <widgets:outputMessageBox message="#{msg.ADMIN_LIST_LAND_LINE_EMPTY}" messageStyleClass="alert-danger" rendered="#{phoneController.allLandLineNumbers().isEmpty()}" />