1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
3 lang="#{localizationController.language}" xml:lang="#{localizationController.language}"
4 xmlns="http://www.w3.org/1999/xhtml"
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"
10 <ui:composition template="/WEB-INF/templates/admin/admin_base.tpl">
11 <ui:define name="admin_title">
12 <h:outputText value="#{msg.PAGE_TITLE_ADMIN_LIST_CONTACT_MOBILE_NUMBER}" />
15 <ui:define name="content_header">
16 <h:outputText value="#{msg.CONTENT_TITLE_ADMIN_LIST_CONTACT_MOBILE_NUMBER}" />
19 <ui:define name="content">
20 <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()}">
22 <f:facet name="header">
23 <h:outputText value="#{msg.ADMIN_SHOW_PHONE_ID}" />
26 <h:link outcome="admin_show_mobile" value="#{mobile.phoneId}" title="#{msg.ADMIN_LINK_SHOW_SHORT_TITLE}">
27 <f:param name="phoneId" value="#{mobile.phoneId}" />
32 <f:facet name="header">
33 <h:outputText value="#{msg.ADMIN_SHOW_MOBILE_PROVIDER_NAME}" />
36 <h:link outcome="admin_show_mobile_provider" value="#{mobile.mobileProvider.providerName}">
37 <f:param name="providerId" value="#{mobile.mobileProvider.providerId}" />
42 <f:facet name="header">
43 <h:outputText value="#{msg.ADMIN_SHOW_MOBILE_NUMBER_COMPLETE}" />
46 <h:outputText value="#{mobile.mobileProvider.providerCountry.countryExternalDialPrefix}#{mobile.mobileProvider.providerDialPrefix}-#{mobile.phoneNumber}" />
50 <f:facet name="header">
51 <h:outputText value="#{msg.ADMIN_SHOW_PHONE_CREATED}" />
54 <h:outputText value="#{mobile.phoneEntryCreated.time}">
55 <f:convertDateTime type="both" />
60 <f:facet name="header">
61 <h:outputText value="#{msg.ADMIN_SHOW_PHONE_UPDATED}" />
64 <h:outputText value="#{mobile.phoneEntryUpdated.time}">
65 <f:convertDateTime type="both" />
70 <ui:fragment rendered="#{phoneController.allMobileNumbers().isEmpty()}">
71 <ui:include src="/WEB-INF/templates/generic/message_box.tpl">
72 <ui:param name="message" value="#{msg.ADMIN_LIST_MOBILE_EMPTY}" />
73 <ui:param name="styleClass" value="errors" />