1 <?xml version="1.0" encoding="UTF-8" ?>
3 xmlns="http://www.w3.org/1999/xhtml"
4 xmlns:widgets="http://mxchange.org/jsf/core/widgets"
5 xmlns:f="http://java.sun.com/jsf/core"
6 xmlns:h="http://java.sun.com/jsf/html"
7 xmlns:ui="http://xmlns.jcp.org/jsf/facelets"
8 xmlns:p="http://primefaces.org/ui">
11 @TODO summary="#{msg.ADMIN_TABLE_SUMMARY_SHOW_USER_DATA}"
13 <p:panelGrid styleClass="table table-full" columns="3" rendered="#{not empty beanHelper.user}">
14 <f:facet name="header">
15 <h:outputFormat value="#{msg.ADMIN_HEADER_SHOW_USER}">
16 <f:param value="#{beanHelper.user.userName}" />
17 <f:param value="#{beanHelper.user.userId}" />
22 <p:outputLabel for="userId" styleClass="table-data-label" value="#{msg.ADMIN_USER_ID}" />
24 <h:outputText id="userId" styleClass="table-data-field" value="#{beanHelper.user.userId}" />
27 <ui:fragment rendered="#{featureController.isFeatureEnabled('user_login_require_user_name')}">
29 <p:outputLabel for="userName" styleClass="table-data-label" value="#{msg.ADMIN_USER_NAME}" />
31 <h:outputText id="userName" styleClass="table-data-field" value="#{beanHelper.user.userName}" />
36 <p:outputLabel for="userCreated" styleClass="table-data-label" value="#{msg.ADMIN_USER_CREATED}" />
38 <h:outputText id="userCreated" styleClass="table-data-field" value="#{beanHelper.user.userCreated.time}">
39 <f:convertDateTime for="userCreated" type="both" />
44 <p:outputLabel for="userUpdated" styleClass="table-data-label" value="#{msg.ADMIN_USER_UPDATED}" />
46 <h:outputText id="userUpdated" styleClass="table-data-field" value="#{beanHelper.user.userUpdated.time}">
47 <f:convertDateTime for="userUpdated" type="both" />
52 <p:outputLabel for="userAccountStatus" styleClass="table-data-label" value="#{msg.ADMIN_USER_ACCOUNT_STATUS}" />
54 <h:outputText id="userAccountStatus" styleClass="table-data-field #{beanHelper.user.userAccountStatus.styleClass}" value="#{msg[beanHelper.user.userAccountStatus.messageKey]}" />
58 <p:outputLabel for="userProfileMode" styleClass="table-data-label" value="#{msg.ADMIN_USER_PROFILE_MODE}" />
60 <h:outputText id="userProfileMode" styleClass="table-data-field" value="#{msg[beanHelper.user.userProfileMode.messageKey]}" />
64 <p:outputLabel for="userLastLocked" styleClass="table-data-label" value="#{msg.ADMIN_USER_LAST_LOCKED}" />
66 <h:outputText id="userLastLocked" styleClass="table-data-field" value="#{beanHelper.user.userLastLocked.time}">
67 <f:convertDateTime for="userLastLocked" type="both" />
72 <p:outputLabel for="userLastLockedReason" styleClass="table-data-label" value="#{msg.ADMIN_USER_LAST_LOCKED_REASON}" />
74 <h:outputText id="userLastLockedReason" styleClass="table-data-field" value="#{beanHelper.user.userLastLockedReason}" />
77 <widgets:outputContactDataGridColumns />