<ui:define name="content">
<h:form id="form_export_contacts">
- <p:dataTable id="table_export_contacts" var="contact" value="#{contactController.allContacts()}" tableStyleClass="table_big" paginator="true" rows="10" summary="#{msg.TABLE_SUMMARY_ADMIN_EXPORT_CONTACT}" rendered="#{contactController.hasContacts()}">
+ <p:dataTable id="table_export_contacts" var="contact" value="#{contactController.allContacts()}" tableStyleClass="table_big" paginator="true" rows="10" summary="#{msg.TABLE_SUMMARY_ADMIN_EXPORT_CONTACT}" rendered="#{not contactController.allContacts().isEmpty()}">
<p:column exportable="false">
<f:facet name="header">
<h:outputText value="#{msg.ADMIN_EXPORT_CONTACT_ID}" />
<p:column>
<f:facet name="header">
- <h:outputText value="#{msg.ADMIN_EXPORT_CONTACT_CELLPHONE_NUMBER}" />
+ <h:outputText value="#{msg.ADMIN_EXPORT_CONTACT_MOBILE_NUMBER}" />
</f:facet>
<h:outputText value="#{adminContactController.generateCellphoneNumber(contact.contactCellphoneNumber)}" />
</p:column>
</p:dataTable>
- <div class="table_medium">
+ <h:panelGroup styleClass="table_medium" layout="block">
<div class="table_header">
<h:outputText value="#{msg.ADMIN_EXPORT_CONTACTS_TITLE}" />
</div>
<p:dataExporter type="xls" target="table_export_contacts" fileName="all_contacts" />
</h:commandButton>
</div>
- </div>
+ </h:panelGroup>
</h:form>
</ui:define>
</ui:composition>