1 <?xml version="1.0" encoding="UTF-8" ?>
3 template="/WEB-INF/templates/admin/admin_base.tpl"
4 xmlns="http://www.w3.org/1999/xhtml"
5 xmlns:core="http://mxchange.org/jsf/core/widgets"
6 xmlns:ui="http://xmlns.jcp.org/jsf/facelets"
7 xmlns:h="http://xmlns.jcp.org/jsf/html"
8 xmlns:f="http://xmlns.jcp.org/jsf/core"
9 xmlns:p="http://primefaces.org/ui"
12 <ui:define name="metadata">
14 <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}" />
15 <f:viewAction action="#{beanHelper.notifyControllerUserConverted()}" />
19 <ui:define name="document_admin_title">
20 <h:outputText value="#{msg.PAGE_TITLE_ADMIN_USER_ACTIVITY_LOG}" />
23 <ui:define name="content_header">
24 <h:outputText value="#{msg.CONTENT_TITLE_ADMIN_USER_ACTIVITY_LOG}" />
27 <ui:define name="content">
28 <core:outputMessageBox id="error-helper-user" message="#{msg.ERROR_USER_NOT_FOUND}" messageStyleClass="alert-danger" rendered="#{empty beanHelper.user}" />
31 id="table_user_activity_log"
33 value="#{userActivityController.fetchCurrentUsersActivityLog()}"
36 summary="#{msg.TABLE_SUMMARY_ADMIN_LIST_USER_ACTIVITY_LOG}"
37 rendered="#{not empty beanHelper.user}"
40 <f:facet name="header">
41 <h:outputText value="#{msg.ADMIN_LIST_USER_ID}" />
44 <p:link outcome="admin_show_user" title="#{msg.ADMIN_LINK_SHOW_USER_TITLE}" value="#{userActivity.activityUser.userId}">
45 <f:param name="userId" value="#{userActivity.activityUser.userId}" />
49 <ui:fragment rendered="#{featureController.isFeatureEnabled('user_login_require_user_name')}">
51 <f:facet name="header">
52 <h:outputText value="#{msg.ADMIN_LIST_USER_NAME}" />
55 <h:outputText value="#{userActivity.activityUserName}" />
60 <f:facet name="header">
61 <h:outputText value="#{msg.ADMIN_SHOW_PRINCIPAL_NAME}" />
64 <h:outputText value="#{userActivity.activityPrincipalName}" />
68 <f:facet name="header">
69 <h:outputText value="#{msg.ADMIN_LIST_USER_PERSONAL_TITLE}" />
72 <h:outputText value="#{msg[userActivity.activityContactGender.messageKey]}" />
76 <f:facet name="header">
77 <h:outputText value="#{msg.ADMIN_LIST_USER_FIRST_NAME}" />
80 <h:outputText value="#{userActivity.activityContactFirstName}" />
84 <f:facet name="header">
85 <h:outputText value="#{msg.ADMIN_LIST_USER_FAMILY_NAME}" />
88 <h:outputText value="#{userActivity.activityContactFamilyName}" />
92 <f:facet name="header">
93 <h:outputText value="#{msg.ADMIN_LIST_USER_ACTIVITY_LOG_MESSAGE}" />
96 <h:outputText value="#{userActivity.activityMessage}" />
100 <f:facet name="header">
101 <h:outputText value="#{msg.ADMIN_LIST_USER_ACTIVITY_LOG_TYPE}" />
104 <h:outputText value="#{msg[userActivityController.expandAdminActivityType(userActivity.activityType)]}" />
108 <f:facet name="header">
109 <h:outputText value="#{msg.ADMIN_LIST_USER_ACTIVITY_LOG_TIMESTAMP}" />
112 <h:outputText id="userCreated" value="#{userActivity.activityTimestamp}">
113 <f:convertDateTime type="both" timeStyle="short" dateStyle="short" />