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:generic="http://mxchange.org/jsf/core"
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_MOBILE_NUMBER}" />
13 <ui:define name="content_header">
14 <h:outputText value="#{msg.CONTENT_TITLE_ADMIN_LIST_CONTACT_MOBILE_NUMBER}" />
17 <ui:define name="content">
18 <h:dataTable id="table_list_mobile" var="mobile" value="#{phoneController.allMobileNumbers()}" styleClass="table_full" headerClass="table_header_column" summary="#{msg.TABLE_SUMMARY_ADMIN_LIST_MOBILES}" rendered="#{not phoneController.allMobileNumbers().isEmpty()}">
20 <f:facet name="header">
21 <h:outputText value="#{msg.ADMIN_SHOW_PHONE_ID}" />
24 <h:link outcome="admin_show_mobile" value="#{mobile.phoneId}" title="#{msg.ADMIN_LINK_SHOW_SHORT_TITLE}">
25 <f:param name="phoneId" value="#{mobile.phoneId}" />
30 <f:facet name="header">
31 <h:outputText value="#{msg.ADMIN_SHOW_MOBILE_PROVIDER_NAME}" />
34 <h:link outcome="admin_show_mobile_provider" value="#{mobile.mobileProvider.providerName}">
35 <f:param name="providerId" value="#{mobile.mobileProvider.providerId}" />
40 <f:facet name="header">
41 <h:outputText value="#{msg.ADMIN_SHOW_MOBILE_NUMBER_COMPLETE}" />
44 <h:outputText value="#{mobile.mobileProvider.providerCountry.countryExternalDialPrefix}#{mobile.mobileProvider.providerDialPrefix}-#{mobile.phoneNumber}" />
48 <f:facet name="header">
49 <h:outputText value="#{msg.ADMIN_SHOW_PHONE_CREATED}" />
52 <h:outputText value="#{mobile.phoneEntryCreated.time}">
53 <f:convertDateTime type="both" />
58 <f:facet name="header">
59 <h:outputText value="#{msg.ADMIN_SHOW_PHONE_UPDATED}" />
62 <h:outputText value="#{mobile.phoneEntryUpdated.time}">
63 <f:convertDateTime type="both" />
68 <generic:outputMessageBox message="#{msg.ADMIN_LIST_MOBILE_EMPTY}" styleClass="errors" rendered="#{phoneController.allMobileNumbers().isEmpty()}" />