]> git.mxchange.org Git - jjobs-war.git/blob - web/WEB-INF/templates/admin/user/admin_show_user_data_mini.tpl
Updated copyright year
[jjobs-war.git] / web / WEB-INF / templates / admin / user / admin_show_user_data_mini.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="2"
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:panelGroup styleClass="table-data-field" layout="block">
29                                 <p:link
30                                         id="userId"
31                                         outcome="admin_show_user"
32                                         title="#{msg.ADMIN_LINK_SHOW_USER_TITLE}"
33                                         value="#{beanHelper.user.userId}"
34                                         >
35                                         <f:param name="userId" value="#{beanHelper.user.userId}" />
36                                 </p:link>
37                         </h:panelGroup>
38                 </p:column>
39
40                 <ui:fragment rendered="#{featureController.isFeatureEnabled('user_login_require_user_name')}">
41                         <p:column>
42                                 <p:outputLabel for="userName" styleClass="table-data-label" value="#{msg.DATA_USER_NAME}" />
43
44                                 <h:outputText id="userName" styleClass="table-data-field" value="#{beanHelper.user.userName}" />
45                         </p:column>
46                 </ui:fragment>
47
48                 <p:column>
49                         <p:outputLabel for="userEntryCreated" styleClass="table-data-label" value="#{msg.ADMIN_USER_CREATED}" />
50
51                         <h:outputText id="userEntryCreated" styleClass="table-data-field" value="#{beanHelper.user.userEntryCreated}">
52                                 <f:convertDateTime type="both" />
53                         </h:outputText>
54                 </p:column>
55
56                 <p:column>
57                         <p:outputLabel for="userAccountStatus" styleClass="table-data-label" value="#{msg.ADMIN_USER_ACCOUNT_STATUS}" />
58
59                         <h:outputText id="userAccountStatus" styleClass="table-data-field #{beanHelper.user.userAccountStatus.styleClass}" value="#{msg[beanHelper.user.userAccountStatus.messageKey]}" />
60                 </p:column>
61
62                 <core:outputContactDataGridColumns />
63         </p:panelGrid>
64 </ui:composition>