1 <?xml version="1.0" encoding="UTF-8" ?>
3 template="/WEB-INF/templates/admin/admin_base.tpl"
4 xmlns="http://www.w3.org/1999/xhtml"
5 xmlns:core="http://mxchange.org/jsf/core/widgets"
6 xmlns:ui="http://xmlns.jcp.org/jsf/facelets"
7 xmlns:h="http://xmlns.jcp.org/jsf/html"
8 xmlns:f="http://xmlns.jcp.org/jsf/core"
9 xmlns:p="http://primefaces.org/ui"
12 <ui:define name="document_admin_title">
13 <h:outputText value="#{msg.PAGE_TITLE_ADMIN_EXPORT_USER}" />
16 <ui:define name="content_header">
17 <h:outputText value="#{msg.CONTENT_TITLE_ADMIN_EXPORT_USER}" />
20 <ui:define name="content">
21 <h:form id="form-export-users">
23 id="table-export-users"
25 value="#{userController.allUsers()}"
28 summary="#{msg.TABLE_SUMMARY_ADMIN_EXPORT_USER}"
29 emptyMessage="#{msg.ADMIN_EMPTY_LIST_USER}"
31 <p:column exportable="false">
32 <f:facet name="header">
33 <h:outputText value="#{msg.ADMIN_EXPORT_USER_ID}" />
36 <p:link outcome="admin_show_user" title="#{msg.ADMIN_LINK_SHOW_USER_TITLE}" value="#{user.userId}">
37 <f:param name="userId" value="#{user.userId}" />
41 <ui:fragment rendered="#{featureController.isFeatureEnabled('user_login_require_user_name')}">
43 <f:facet name="header">
44 <h:outputText value="#{msg.ADMIN_EXPORT_USER_NAME_TITLE}" />
47 <h:outputText value="#{user.userName}" />
52 <f:facet name="header">
53 <h:outputText value="#{msg.ADMIN_EXPORT_USER_ACCOUNT_STATUS}" />
56 <h:outputText styleClass="#{user.userAccountStatus.styleClass}" value="#{msg[user.userAccountStatus.messageKey]}" />
60 <f:facet name="header">
61 <h:outputText value="#{msg.ADMIN_EXPORT_CONTACT_PERSONAL_TITLE}" />
64 <h:outputText value="#{msg[user.userContact.contactPersonalTitle.messageKey]}" />
68 <f:facet name="header">
69 <h:outputText value="#{msg.ADMIN_EXPORT_CONTACT_ACADEMIC_TITLE}" />
72 <h:outputText value="#{user.userContact.contactTitle}" />
76 <f:facet name="header">
77 <h:outputText value="#{msg.ADMIN_EXPORT_CONTACT_FIRST_NAME}" />
80 <h:outputText value="#{user.userContact.contactFirstName}" />
84 <f:facet name="header">
85 <h:outputText value="#{msg.ADMIN_EXPORT_CONTACT_FAMILY_NAME}" />
88 <h:outputText value="#{user.userContact.contactFamilyName}" />
92 <f:facet name="header">
93 <h:outputText value="#{msg.ADMIN_EXPORT_CONTACT_STREET}" />
96 <h:outputText value="#{user.userContact.contactStreet}" />
100 <f:facet name="header">
101 <h:outputText value="#{msg.ADMIN_EXPORT_CONTACT_HOUSE_NUMBER}" />
104 <h:outputText value="#{user.userContact.contactHouseNumber}#{user.userContact.contactHouseNumberExtension}" />
108 <f:facet name="header">
109 <h:outputText value="#{msg.ADMIN_EXPORT_CONTACT_COUNTRY_CODE}" />
112 <h:outputText value="#{user.userContact.contactCountry.countryCode}" />
116 <f:facet name="header">
117 <h:outputText value="#{msg.ADMIN_EXPORT_CONTACT_ZIP_CODE}" />
120 <h:outputText value="#{user.userContact.contactZipCode}" />
124 <f:facet name="header">
125 <h:outputText value="#{msg.ADMIN_EXPORT_CONTACT_CITY}" />
128 <h:outputText value="#{user.userContact.contactCity}" />
132 <f:facet name="header">
133 <h:outputText value="#{msg.ADMIN_EXPORT_CONTACT_EMAIL_ADDRESS}" />
136 <h:outputText value="#{user.userContact.contactEmailAddress}" />
140 <f:facet name="header">
141 <h:outputText value="#{msg.ADMIN_EXPORT_CONTACT_BIRTHDAY}" />
144 <h:outputText id="contactBirthday" value="#{user.userContact.contactBirthday}">
145 <f:convertDateTime type="date" dateStyle="medium" />
150 <f:facet name="header">
151 <h:outputText value="#{msg.ADMIN_EXPORT_CONTACT_MOBILE_NUMBER}" />
154 <h:outputText value="#{adminContactController.generateMobileNumber(user.userContact.contactMobileNumber)}" />
158 <f:facet name="header">
159 <h:outputText value="#{msg.ADMIN_EXPORT_CONTACT_LANDLINE_NUMBER}" />
162 <h:outputText value="#{adminContactController.generatePhoneNumber(user.userContact.contactLandLineNumber)}" />
166 <f:facet name="header">
167 <h:outputText value="#{msg.ADMIN_EXPORT_CONTACT_FAX_NUMBER}" />
170 <h:outputText value="#{adminContactController.generatePhoneNumber(user.userContact.contactFaxNumber)}" />
174 <f:facet name="header">
175 <h:outputText value="#{msg.ADMIN_EXPORT_CONTACT_CREATED}" />
178 <h:outputText id="contactCreated" value="#{user.userContact.contactCreated}">
179 <f:convertDateTime type="both" timeStyle="short" dateStyle="short" locale="#{localizationController.locale}" />
184 <h:panelGroup layout="block">
185 <div class="table-header">
186 <h:outputText value="#{msg.ADMIN_EXPORT_USERS_TITLE}" />
190 <h:outputText value="#{msg.ADMIN_EXPORT_USERS_TIMEOUT_WARNING}" />
196 value="#{msg.BUTTON_ADMIN_EXPORT_USERS_XLS}"
201 target="table-export-users"