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">
9 <ui:define name="metadata">
11 <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}" />
12 <f:viewAction onPostback="true" action="#{beanHelper.notifyControllerUserConverted()}" />
16 <ui:define name="admin_title">
17 <h:outputText value="#{msg.PAGE_TITLE_ADMIN_USER_ACTIVITY_LOG}" />
20 <ui:define name="content_header">
21 <h:outputText value="#{msg.CONTENT_TITLE_ADMIN_USER_ACTIVITY_LOG}" />
24 <ui:define name="content">
25 <widgets:outputMessageBox message="#{msg.ERROR_USER_ID_NOT_FOUND}" messageStyleClass="alert-danger" rendered="#{empty beanHelper.user}" />
27 <h:dataTable id="table_user_activity_log" var="userActivity" value="#{userActivityController.fetchCurrentUsersActivityLog()}" styleClass="table-full" headerClass="table-header-column" summary="#{msg.TABLE_SUMMARY_ADMIN_LIST_USER_ACTIVITY_LOG}" rendered="#{not empty beanHelper.user}">
29 <f:facet name="header">
30 <h:outputText value="#{msg.ADMIN_LIST_USER_ID}" />
33 <h:link outcome="admin_show_user" title="#{msg.ADMIN_LINK_SHOW_USER_TITLE}" value="#{userActivity.activityUser.userId}">
34 <f:param name="userId" value="#{userActivity.activityUser.userId}" />
38 <ui:fragment rendered="#{featureController.isFeatureEnabled('user_login_require_user_name')}">
40 <f:facet name="header">
41 <h:outputText value="#{msg.ADMIN_LIST_USER_NAME}" />
44 <h:outputText value="#{userActivity.activityUserName}" />
49 <f:facet name="header">
50 <h:outputText value="#{msg.ADMIN_SHOW_PRINCIPAL_NAME}" />
53 <h:outputText value="#{userActivity.activityPrincipalName}" />
57 <f:facet name="header">
58 <h:outputText value="#{msg.ADMIN_LIST_USER_PERSONAL_TITLE}" />
61 <h:outputText value="#{msg[userActivity.activityContactGender.messageKey]}" />
65 <f:facet name="header">
66 <h:outputText value="#{msg.ADMIN_LIST_USER_FIRST_NAME}" />
69 <h:outputText value="#{userActivity.activityContactFirstName}" />
73 <f:facet name="header">
74 <h:outputText value="#{msg.ADMIN_LIST_USER_FAMILY_NAME}" />
77 <h:outputText value="#{userActivity.activityContactFamilyName}" />
81 <f:facet name="header">
82 <h:outputText value="#{msg.ADMIN_LIST_USER_ACTIVIRY_LOG_MESSAGE}" />
85 <h:outputText value="#{userActivity.activityMessage}" />
89 <f:facet name="header">
90 <h:outputText value="#{msg.ADMIN_LIST_USER_ACTIVIRY_LOG_TYPE}" />
93 <h:outputText value="#{msg[userActivityController.expandAdminActivityType(userActivity.activityType)]}" />
97 <f:facet name="header">
98 <h:outputText value="#{msg.ADMIN_LIST_USER_ACTIVITY_LOG_TIMESTAMP}" />
101 <h:outputText id="userCreated" value="#{userActivity.activityTimestamp.time}">
102 <f:convertDateTime for="userCreated" type="both" timeStyle="short" dateStyle="short" />