]> git.mxchange.org Git - jjobs-war.git/blob - web/WEB-INF/templates/admin/user/admin_show_user_data_mini.tpl
Please cherry-pick:
[jjobs-war.git] / web / WEB-INF / templates / admin / user / admin_show_user_data_mini.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:panelGroup styleClass="table-data-field" layout="block">
22                                 <p:link id="userId" outcome="admin_show_user" title="#{msg.ADMIN_LINK_SHOW_USER_TITLE}" value="#{beanHelper.user.userId}">
23                                         <f:param name="userId" value="#{beanHelper.user.userId}" />
24                                 </p:link>
25                         </h:panelGroup>
26                 </h:column>
27
28                 <ui:fragment rendered="#{featureController.isFeatureEnabled('user_login_require_user_name')}">
29                         <h:column>
30                                 <p:outputLabel for="userName" styleClass="table-data-label" value="#{msg.ADMIN_USER_NAME}" />
31
32                                 <h:outputText id="userName" styleClass="table-data-field" value="#{beanHelper.user.userName}" />
33                         </h:column>
34                 </ui:fragment>
35
36                 <h:column>
37                         <p:outputLabel for="userCreated" styleClass="table-data-label" value="#{msg.ADMIN_USER_CREATED}" />
38
39                         <h:outputText id="userCreated" styleClass="table-data-field" value="#{beanHelper.user.userCreated.time}">
40                                 <f:convertDateTime for="userCreated" type="both" />
41                         </h:outputText>
42                 </h:column>
43
44                 <h:column>
45                         <p:outputLabel for="userAccountStatus" styleClass="table-data-label" value="#{msg.ADMIN_USER_ACCOUNT_STATUS}" />
46
47                         <h:outputText id="userAccountStatus" styleClass="table-data-field #{beanHelper.user.userAccountStatus.styleClass}" value="#{msg[beanHelper.user.userAccountStatus.messageKey]}" />
48                 </h:column>
49
50                 <widgets:outputContactDataGridColumns />
51         </p:panelGrid>
52 </ui:composition>