]> git.mxchange.org Git - jjobs-war.git/blob - web/WEB-INF/templates/admin/user/admin_show_user_data.tpl
Please cherry-pick:
[jjobs-war.git] / web / WEB-INF / templates / admin / user / admin_show_user_data.tpl
1 <?xml version="1.0" encoding="UTF-8" ?>
2 <!--
3 @TODO summary="#{msg.ADMIN_TABLE_SUMMARY_SHOW_USER_DATA}"
4 -->
5 <ui:composition
6         xmlns="http://www.w3.org/1999/xhtml"
7         xmlns:core="http://mxchange.org/jsf/core/widgets"
8         xmlns:f="http://java.sun.com/jsf/core"
9         xmlns:h="http://java.sun.com/jsf/html"
10         xmlns:ui="http://xmlns.jcp.org/jsf/facelets"
11         xmlns:p="http://primefaces.org/ui"
12         >
13
14         <p:panelGrid
15                 columns="3"
16                 rendered="#{not empty beanHelper.user}"
17                 >
18                 <f:facet name="header">
19                         <h:outputFormat value="#{msg.ADMIN_SHOW_USER_HEADER}">
20                                 <f:param value="#{beanHelper.user.userName}" />
21                                 <f:param value="#{beanHelper.user.userId}" />
22                         </h:outputFormat>
23                 </f:facet>
24
25                 <p:column>
26                         <p:outputLabel for="userId" styleClass="table-data-label" value="#{msg.DATA_USER_ID}" />
27
28                         <h:outputText id="userId" styleClass="table-data-field" value="#{beanHelper.user.userId}" />
29                 </p:column>
30
31                 <ui:fragment rendered="#{featureController.isFeatureEnabled('user_login_require_user_name')}">
32                         <p:column>
33                                 <p:outputLabel for="userName" styleClass="table-data-label" value="#{msg.DATA_USER_NAME}" />
34
35                                 <h:outputText id="userName" styleClass="table-data-field" value="#{beanHelper.user.userName}" />
36                         </p:column>
37                 </ui:fragment>
38
39                 <p:column>
40                         <p:outputLabel for="userCreated" styleClass="table-data-label" value="#{msg.ADMIN_USER_CREATED}" />
41
42                         <h:outputText id="userCreated" styleClass="table-data-field" value="#{beanHelper.user.userCreated}">
43                                 <f:convertDateTime type="both" />
44                         </h:outputText>
45                 </p:column>
46
47                 <p:column>
48                         <p:outputLabel for="userUpdated" styleClass="table-data-label" value="#{msg.ADMIN_USER_UPDATED}" />
49
50                         <h:outputText id="userUpdated" styleClass="table-data-field" value="#{beanHelper.user.userUpdated}">
51                                 <f:convertDateTime type="both" />
52                         </h:outputText>
53                 </p:column>
54
55                 <p:column>
56                         <p:outputLabel for="userAccountStatus" styleClass="table-data-label" value="#{msg.ADMIN_USER_ACCOUNT_STATUS}" />
57
58                         <h:outputText id="userAccountStatus" styleClass="table-data-field #{beanHelper.user.userAccountStatus.styleClass}" value="#{msg[beanHelper.user.userAccountStatus.messageKey]}" />
59                 </p:column>
60
61                 <p:column>
62                         <p:outputLabel for="userProfileMode" styleClass="table-data-label" value="#{msg.ADMIN_USER_PROFILE_MODE}" />
63
64                         <h:outputText id="userProfileMode" styleClass="table-data-field" value="#{msg[beanHelper.user.userProfileMode.messageKey]}" />
65                 </p:column>
66
67                 <p:column>
68                         <p:outputLabel for="userLastLocked" styleClass="table-data-label" value="#{msg.DATA_USER_LAST_LOCKED}" />
69
70                         <h:outputText id="userLastLocked" styleClass="table-data-field" value="#{beanHelper.user.userLastLocked}">
71                                 <f:convertDateTime type="both" />
72                         </h:outputText>
73                 </p:column>
74
75                 <p:column>
76                         <p:outputLabel for="userLastLockedReason" styleClass="table-data-label" value="#{msg.DATA_USER_LAST_LOCKED_REASON}" />
77
78                         <h:outputText id="userLastLockedReason" styleClass="table-data-field" value="#{beanHelper.user.userLastLockedReason}" />
79                 </p:column>
80
81                 <core:outputContactDataGridColumns />
82         </p:panelGrid>
83 </ui:composition>