1 <?xml version="1.0" encoding="UTF-8" ?>
2 <ui:composition template="/WEB-INF/templates/admin/admin_base.tpl"
3 xmlns="http://www.w3.org/1999/xhtml"
4 xmlns:widgets="http://mxchange.org/jsf/core/widgets"
5 xmlns:ui="http://xmlns.jcp.org/jsf/facelets"
6 xmlns:h="http://xmlns.jcp.org/jsf/html"
7 xmlns:f="http://xmlns.jcp.org/jsf/core"
8 xmlns:p="http://primefaces.org/ui">
10 <ui:define name="metadata">
12 <f:viewParam name="userId" value="#{beanHelper.user}" converter="UserConverter" required="true" requiredMessage="#{msg.ERROR_PARAMETER_USER_ID_NOT_SET}" converterMessage="#{msg.PARAMETER_USER_ID_INVALID}" />
13 <f:viewAction onPostback="true" action="#{beanHelper.notifyControllerUserConverted()}" />
17 <ui:define name="admin_title">
18 <h:outputText value="#{msg.PAGE_TITLE_ADMIN_USER_ACTIVITY_LOG}" />
21 <ui:define name="content_header">
22 <h:outputText value="#{msg.CONTENT_TITLE_ADMIN_USER_ACTIVITY_LOG}" />
25 <ui:define name="content">
26 <widgets:outputMessageBox message="#{msg.ERROR_USER_ID_NOT_FOUND}" messageStyleClass="alert-danger" rendered="#{empty beanHelper.user}" />
28 <p:dataTable id="table_user_activity_log" var="userActivity" value="#{userActivityController.fetchCurrentUsersActivityLog()}" tableStyleClass="table table-full" paginator="true" rows="10" summary="#{msg.TABLE_SUMMARY_ADMIN_LIST_USER_ACTIVITY_LOG}" rendered="#{not empty beanHelper.user}">
30 <f:facet name="header">
31 <h:outputText value="#{msg.ADMIN_LIST_USER_ID}" />
34 <p:link outcome="admin_show_user" title="#{msg.ADMIN_LINK_SHOW_USER_TITLE}" value="#{userActivity.activityUser.userId}">
35 <f:param name="userId" value="#{userActivity.activityUser.userId}" />
39 <ui:fragment rendered="#{featureController.isFeatureEnabled('user_login_require_user_name')}">
41 <f:facet name="header">
42 <h:outputText value="#{msg.ADMIN_LIST_USER_NAME}" />
45 <h:outputText value="#{userActivity.activityUserName}" />
50 <f:facet name="header">
51 <h:outputText value="#{msg.ADMIN_SHOW_PRINCIPAL_NAME}" />
54 <h:outputText value="#{userActivity.activityPrincipalName}" />
58 <f:facet name="header">
59 <h:outputText value="#{msg.ADMIN_LIST_USER_PERSONAL_TITLE}" />
62 <h:outputText value="#{msg[userActivity.activityContactGender.messageKey]}" />
66 <f:facet name="header">
67 <h:outputText value="#{msg.ADMIN_LIST_USER_FIRST_NAME}" />
70 <h:outputText value="#{userActivity.activityContactFirstName}" />
74 <f:facet name="header">
75 <h:outputText value="#{msg.ADMIN_LIST_USER_FAMILY_NAME}" />
78 <h:outputText value="#{userActivity.activityContactFamilyName}" />
82 <f:facet name="header">
83 <h:outputText value="#{msg.ADMIN_LIST_USER_ACTIVIRY_LOG_MESSAGE}" />
86 <h:outputText value="#{userActivity.activityMessage}" />
90 <f:facet name="header">
91 <h:outputText value="#{msg.ADMIN_LIST_USER_ACTIVIRY_LOG_TYPE}" />
94 <h:outputText value="#{msg[userActivityController.expandAdminActivityType(userActivity.activityType)]}" />
98 <f:facet name="header">
99 <h:outputText value="#{msg.ADMIN_LIST_USER_ACTIVITY_LOG_TIMESTAMP}" />
102 <h:outputText id="userCreated" value="#{userActivity.activityTimestamp.time}">
103 <f:convertDateTime for="userCreated" type="both" timeStyle="short" dateStyle="short" />