]> git.mxchange.org Git - jjobs-war.git/blob - web/WEB-INF/templates/admin/user/admin_show_user_data.tpl
2cd43c8412b37dc3a910a0e8b2d679b4b6c9ebf5
[jjobs-war.git] / web / WEB-INF / templates / admin / user / admin_show_user_data.tpl
1 <?xml version="1.0" encoding="UTF-8" ?>
2 <ui:composition
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">
9
10         <p:panelGrid id="admin_user_profile" summary="#{msg.ADMIN_TABLE_SUMMARY_SHOW_USER_DATA}" headerClass="table-header-column" styleClass="table table-full" columns="3" rendered="#{not empty beanHelper.user}">
11                 <f:facet name="header">
12                         <h:outputFormat value="#{msg.ADMIN_HEADER_SHOW_USER}">
13                                 <f:param value="#{beanHelper.user.userName}" />
14                                 <f:param value="#{beanHelper.user.userId}" />
15                         </h:outputFormat>
16                 </f:facet>
17
18                 <h:column>
19                         <p:outputLabel for="userId" styleClass="table-data-label" value="#{msg.ADMIN_USER_ID}" />
20
21                         <h:outputText id="userId" styleClass="table-data-field" value="#{beanHelper.user.userId}" />
22                 </h:column>
23
24                 <ui:fragment rendered="#{featureController.isFeatureEnabled('user_login_require_user_name')}">
25                         <h:column>
26                                 <p:outputLabel for="userName" styleClass="table-data-label" value="#{msg.ADMIN_USER_NAME}" />
27
28                                 <h:outputText id="userName" styleClass="table-data-field" value="#{beanHelper.user.userName}" />
29                         </h:column>
30                 </ui:fragment>
31
32                 <h:column>
33                         <p:outputLabel for="userCreated" styleClass="table-data-label" value="#{msg.ADMIN_USER_CREATED}" />
34
35                         <h:outputText id="userCreated" styleClass="table-data-field" value="#{beanHelper.user.userCreated.time}">
36                                 <f:convertDateTime for="userCreated" type="both" />
37                         </h:outputText>
38                 </h:column>
39
40                 <h:column>
41                         <p:outputLabel for="userUpdated" styleClass="table-data-label" value="#{msg.ADMIN_USER_UPDATED}" />
42
43                         <h:outputText id="userUpdated" styleClass="table-data-field" value="#{beanHelper.user.userUpdated.time}">
44                                 <f:convertDateTime for="userUpdated" type="both" />
45                         </h:outputText>
46                 </h:column>
47
48                 <h:column>
49                         <p:outputLabel for="userAccountStatus" styleClass="table-data-label" value="#{msg.ADMIN_USER_ACCOUNT_STATUS}" />
50
51                         <h:outputText id="userAccountStatus" styleClass="table-data-field #{beanHelper.user.userAccountStatus.styleClass}" value="#{msg[beanHelper.user.userAccountStatus.messageKey]}" />
52                 </h:column>
53
54                 <h:column>
55                         <p:outputLabel for="userProfileMode" styleClass="table-data-label" value="#{msg.ADMIN_USER_PROFILE_MODE}" />
56
57                         <h:outputText id="userProfileMode" styleClass="table-data-field" value="#{msg[beanHelper.user.userProfileMode.messageKey]}" />
58                 </h:column>
59
60                 <h:column>
61                         <p:outputLabel for="userLastLocked" styleClass="table-data-label" value="#{msg.ADMIN_USER_LAST_LOCKED}" />
62
63                         <h:outputText id="userLastLocked" styleClass="table-data-field" value="#{beanHelper.user.userLastLocked.time}">
64                                 <f:convertDateTime for="userLastLocked" type="both" />
65                         </h:outputText>
66                 </h:column>
67
68                 <h:column>
69                         <p:outputLabel for="userLastLockedReason" styleClass="table-data-label" value="#{msg.ADMIN_USER_LAST_LOCKED_REASON}" />
70
71                         <h:outputText id="userLastLockedReason" styleClass="table-data-field" value="#{beanHelper.user.userLastLockedReason}" />
72                 </h:column>
73
74                 <widgets:outputContactDataGridColumns />
75         </p:panelGrid>
76 </ui:composition>