]> git.mxchange.org Git - pizzaservice-war.git/blob - web/WEB-INF/templates/admin/user/admin_show_user_data_mini.tpl
Please cherry-pick:
[pizzaservice-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
9         <h:panelGrid id="admin_user_profile" summary="#{msg.ADMIN_TABLE_SUMMARY_SHOW_USER_DATA}" headerClass="table_header_column" styleClass="table_full" columns="3" rendered="#{not empty beanHelper.user}">
10                 <f:facet name="header">
11                         <h:outputFormat value="#{msg.ADMIN_HEADER_SHOW_USER}">
12                                 <f:param value="#{beanHelper.user.userName}" />
13                                 <f:param value="#{beanHelper.user.userId}" />
14                         </h:outputFormat>
15                 </f:facet>
16
17                 <h:column>
18                         <h:outputLabel for="userId" styleClass="table_data_label" value="#{msg.ADMIN_USER_ID}" />
19
20                         <h:panelGroup styleClass="table_data_field" layout="block">
21                                 <h:link id="userId" outcome="admin_show_user" title="#{msg.ADMIN_LINK_SHOW_USER_TITLE}" value="#{beanHelper.user.userId}">
22                                         <f:param name="userId" value="#{beanHelper.user.userId}" />
23                                 </h:link>
24                         </h:panelGroup>
25                 </h:column>
26
27                 <ui:fragment rendered="#{featureController.isFeatureEnabled('user_login_require_user_name')}">
28                         <h:column>
29                                 <h:outputLabel for="userName" styleClass="table_data_label" value="#{msg.ADMIN_USER_NAME}" />
30
31                                 <h:outputText id="userName" styleClass="table_data_field" value="#{beanHelper.user.userName}" />
32                         </h:column>
33                 </ui:fragment>
34
35                 <h:column>
36                         <h:outputLabel for="userCreated" styleClass="table_data_label" value="#{msg.ADMIN_USER_CREATED}" />
37
38                         <h:outputText id="userCreated" styleClass="table_data_field" value="#{beanHelper.user.userCreated.time}">
39                                 <f:convertDateTime for="userCreated" type="both" />
40                         </h:outputText>
41                 </h:column>
42
43                 <h:column>
44                         <h:outputLabel for="userAccountStatus" styleClass="table_data_label" value="#{msg.ADMIN_USER_ACCOUNT_STATUS}" />
45
46                         <h:outputText id="userAccountStatus" styleClass="table_data_field #{beanHelper.user.userAccountStatus.styleClass}" value="#{msg[beanHelper.user.userAccountStatus.messageKey]}" />
47                 </h:column>
48
49                 <widgets:outputContactDataGridColumns />
50         </h:panelGrid>
51 </ui:composition>