<?xml version="1.0" encoding="UTF-8" ?>
<ui:composition template="/WEB-INF/templates/admin/admin_base.tpl"
xmlns="http://www.w3.org/1999/xhtml"
+ xmlns:links="http://mxchange.org/jsf/core/links"
xmlns:ui="http://xmlns.jcp.org/jsf/facelets"
xmlns:h="http://xmlns.jcp.org/jsf/html"
xmlns:f="http://xmlns.jcp.org/jsf/core">
</ui:define>
<ui:define name="content">
- <h:dataTable id="table_list_mobile" var="mobile" value="#{mobileProviderController.allMobileProviders()}" styleClass="table table-medium" headerClass="table-header-column" summary="#{msg.TABLE_SUMMARY_ADMIN_LIST_MOBILE_PROVIDERS}" rendered="#{not mobileProviderController.allMobileProviders().isEmpty()}">
+ <h:dataTable id="table_list_mobile" var="mobileProvider" value="#{mobileProviderController.allMobileProviders()}" styleClass="table table-medium" headerClass="table-header-column" summary="#{msg.TABLE_SUMMARY_ADMIN_LIST_MOBILE_PROVIDERS}" rendered="#{not mobileProviderController.allMobileProviders().isEmpty()}">
<h:column>
<f:facet name="header">
- <h:outputText value="#{msg.ADMIN_LIST_MOBILE_PROVIDER_ID}" />
+ <h:outputText value="#{msg.ADMIN_ID_NUMBER}" />
</f:facet>
- <h:link outcome="admin_edit_mobile_provider" title="#{msg.ADMIN_LINK_EDIT_DELETE_MOBILE_PROVIDER_TITLE}" value="#{mobile.providerId}">
- <f:param name="providerId" value="#{mobile.providerId}" />
+ <h:link outcome="admin_edit_mobile_provider" title="#{msg.ADMIN_LINK_EDIT_DELETE_MOBILE_PROVIDER_TITLE}" value="#{mobileProvider.providerId}">
+ <f:param name="providerId" value="#{mobileProvider.providerId}" />
</h:link>
</h:column>
<h:outputText value="#{msg.ADMIN_LIST_MOBILE_PROVIDER_NAME}" />
</f:facet>
- <h:outputText value="#{mobile.providerName}" />
+ <h:outputText value="#{mobileProvider.providerName}" />
</h:column>
<h:column>
<h:outputText value="#{msg.ADMIN_LIST_MOBILE_PROVIDER_DIAL_PREFIX}" />
</f:facet>
- <h:outputText value="#{mobile.providerDialPrefix}" />
+ <h:outputText value="#{mobileProvider.providerDialPrefix}" />
</h:column>
<h:column>
<h:outputText value="#{msg.ADMIN_LIST_MOBILE_PROVIDER_COUNTRY}" />
</f:facet>
- <h:outputText value="#{msg[mobile.providerCountry.countryI18nKey]}" />
+ <h:outputText value="#{msg[mobileProvider.providerCountry.countryI18nKey]}" />
</h:column>
<h:column>
<f:facet name="header">
- <h:outputText value="#{msg.ADMIN_LIST_MOBILE_PROVIDER_ENTRY_CREATED}" />
+ <h:outputText value="#{msg.ADMIN_LIST_ENTRY_CREATED}" />
</f:facet>
- <h:outputText id="providerEntryCreated" value="#{mobile.providerEntryCreated.time}" title="#{msg.ADMIN_MOBILE_PROVIDER_ENTRY_CREATED_TITLE}">
+ <h:outputText id="providerEntryCreated" value="#{mobileProvider.providerEntryCreated.time}" title="#{msg.ADMIN_MOBILE_PROVIDER_ENTRY_CREATED_TITLE}">
<f:convertDateTime for="providerEntryCreated" type="both" timeStyle="short" dateStyle="short" />
</h:outputText>
</h:column>
+
+ <h:column>
+ <f:facet name="header">
+ <h:outputText value="#{msg.ADMIN_ACTION_LINKS}" />
+ </f:facet>
+
+ <links:outputMobileProviderAdminMiniLinks mobileProvider="#{mobileProvider}" />
+ </h:column>
</h:dataTable>
<h:form id="form_add_mobile_provider">