<?xml version="1.0" encoding="UTF-8" ?>
<ui:composition template="/WEB-INF/templates/admin/admin_base.tpl"
xmlns="http://www.w3.org/1999/xhtml"
+ xmlns:widgets="http://mxchange.org/jsf/core/widgets"
xmlns:ui="http://xmlns.jcp.org/jsf/facelets"
xmlns:h="http://xmlns.jcp.org/jsf/html"
xmlns:f="http://xmlns.jcp.org/jsf/core">
</ui:define>
<ui:define name="content">
- <ui:fragment rendered="#{empty beanHelper.user}">
- <ui:include src="/WEB-INF/templates/generic/message_box.tpl">
- <ui:param name="message" value="#{msg.ERROR_USER_ID_NOT_FOUND}" />
- <ui:param name="styleClass" value="errors" />
- </ui:include>
- </ui:fragment>
-
- <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}">
+ <widgets:outputMessageBox message="#{msg.ERROR_USER_ID_NOT_FOUND}" messageStyleClass="alert-danger" rendered="#{empty beanHelper.user}" />
+
+ <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}">
<h:column>
<f:facet name="header">
<h:outputText value="#{msg.ADMIN_LIST_USER_ID}" />
<h:column>
<f:facet name="header">
- <h:outputText value="#{msg.ADMIN_LIST_USER_ACTIVIRY_LOG_MESSAGE}" />
+ <h:outputText value="#{msg.ADMIN_LIST_USER_ACTIVITY_LOG_MESSAGE}" />
</f:facet>
<h:outputText value="#{userActivity.activityMessage}" />
<h:column>
<f:facet name="header">
- <h:outputText value="#{msg.ADMIN_LIST_USER_ACTIVIRY_LOG_TYPE}" />
+ <h:outputText value="#{msg.ADMIN_LIST_USER_ACTIVITY_LOG_TYPE}" />
</f:facet>
<h:outputText value="#{msg[userActivityController.expandAdminActivityType(userActivity.activityType)]}" />