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:core="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"
8 xmlns:p="http://primefaces.org/ui">
10 <ui:define name="document_admin_title">
11 <h:outputText value="#{msg.PAGE_TITLE_ADMIN_EXPORT_USER}" />
14 <ui:define name="content_header">
15 <h:outputText value="#{msg.CONTENT_TITLE_ADMIN_EXPORT_USER}" />
18 <ui:define name="content">
19 <h:form id="form_export_users">
21 id="table_export_users"
23 value="#{userController.allUsers()}"
24 tableStyleClass="table table-full"
27 summary="#{msg.TABLE_SUMMARY_ADMIN_EXPORT_USER}"
28 emptyMessage="#{msg.ADMIN_EMPTY_LIST_USER}"
30 <p:column exportable="false">
31 <f:facet name="header">
32 <h:outputText value="#{msg.ADMIN_EXPORT_USER_ID}" />
35 <p:link outcome="admin_show_user" title="#{msg.ADMIN_LINK_SHOW_USER_TITLE}" value="#{user.userId}">
36 <f:param name="userId" value="#{user.userId}" />
40 <ui:fragment rendered="#{featureController.isFeatureEnabled('user_login_require_user_name')}">
42 <f:facet name="header">
43 <h:outputText value="#{msg.ADMIN_EXPORT_USER_NAME_TITLE}" />
46 <h:outputText value="#{user.userName}" />
51 <f:facet name="header">
52 <h:outputText value="#{msg.ADMIN_EXPORT_USER_ACCOUNT_STATUS}" />
55 <h:outputText styleClass="#{user.userAccountStatus.styleClass}" value="#{msg[user.userAccountStatus.messageKey]}" />
59 <f:facet name="header">
60 <h:outputText value="#{msg.ADMIN_EXPORT_CONTACT_PERSONAL_TITLE}" />
63 <h:outputText value="#{msg[user.userContact.contactPersonalTitle.messageKey]}" />
67 <f:facet name="header">
68 <h:outputText value="#{msg.ADMIN_EXPORT_CONTACT_ACADEMIC_TITLE}" />
71 <h:outputText value="#{user.userContact.contactTitle}" />
75 <f:facet name="header">
76 <h:outputText value="#{msg.ADMIN_EXPORT_CONTACT_FIRST_NAME}" />
79 <h:outputText value="#{user.userContact.contactFirstName}" />
83 <f:facet name="header">
84 <h:outputText value="#{msg.ADMIN_EXPORT_CONTACT_FAMILY_NAME}" />
87 <h:outputText value="#{user.userContact.contactFamilyName}" />
91 <f:facet name="header">
92 <h:outputText value="#{msg.ADMIN_EXPORT_CONTACT_STREET}" />
95 <h:outputText value="#{user.userContact.contactStreet}" />
99 <f:facet name="header">
100 <h:outputText value="#{msg.ADMIN_EXPORT_CONTACT_HOUSE_NUMBER}" />
103 <h:outputText value="#{user.userContact.contactHouseNumber}#{user.userContact.contactHouseNumberExtension}" />
107 <f:facet name="header">
108 <h:outputText value="#{msg.ADMIN_EXPORT_CONTACT_COUNTRY_CODE}" />
111 <h:outputText value="#{user.userContact.contactCountry.countryCode}" />
115 <f:facet name="header">
116 <h:outputText value="#{msg.ADMIN_EXPORT_CONTACT_ZIP_CODE}" />
119 <h:outputText value="#{user.userContact.contactZipCode}" />
123 <f:facet name="header">
124 <h:outputText value="#{msg.ADMIN_EXPORT_CONTACT_CITY}" />
127 <h:outputText value="#{user.userContact.contactCity}" />
131 <f:facet name="header">
132 <h:outputText value="#{msg.ADMIN_EXPORT_CONTACT_EMAIL_ADDRESS}" />
135 <h:outputText value="#{user.userContact.contactEmailAddress}" />
139 <f:facet name="header">
140 <h:outputText value="#{msg.ADMIN_EXPORT_CONTACT_BIRTHDAY}" />
143 <h:outputText id="contactBirthday" value="#{user.userContact.contactBirthday}">
144 <f:convertDateTime for="contactBirthday" type="date" dateStyle="medium" />
149 <f:facet name="header">
150 <h:outputText value="#{msg.ADMIN_EXPORT_CONTACT_MOBILE_NUMBER}" />
153 <h:outputText value="#{adminContactController.generateMobileNumber(user.userContact.contactMobileNumber)}" />
157 <f:facet name="header">
158 <h:outputText value="#{msg.ADMIN_EXPORT_CONTACT_LANDLINE_NUMBER}" />
161 <h:outputText value="#{adminContactController.generatePhoneNumber(user.userContact.contactLandLineNumber)}" />
165 <f:facet name="header">
166 <h:outputText value="#{msg.ADMIN_EXPORT_CONTACT_FAX_NUMBER}" />
169 <h:outputText value="#{adminContactController.generatePhoneNumber(user.userContact.contactFaxNumber)}" />
173 <f:facet name="header">
174 <h:outputText value="#{msg.ADMIN_EXPORT_CONTACT_CREATED}" />
177 <h:outputText id="contactCreated" value="#{user.userContact.contactCreated.time}">
178 <f:convertDateTime for="contactCreated" type="both" timeStyle="short" dateStyle="short" locale="#{localizationController.locale}" />
183 <h:panelGroup styleClass="table table-full" layout="block">
184 <div class="table-header">
185 <h:outputText value="#{msg.ADMIN_EXPORT_USERS_TITLE}" />
189 <h:outputText value="#{msg.ADMIN_EXPORT_USERS_TIMEOUT_WARNING}" />
192 <div class="table-footer">
193 <p:commandButton styleClass="submit" type="submit" id="submit_export_users_xls" value="#{msg.BUTTON_ADMIN_EXPORT_USERS_XLS}">
194 <p:dataExporter type="xls" target="table_export_users" fileName="all_users" />