META-INF.resources.notifications.user_notification_entry.jspf Maven / Gradle / Ivy
<%--
/**
* SPDX-FileCopyrightText: (c) 2000 Liferay, Inc. https://liferay.com
* SPDX-License-Identifier: LGPL-2.1-or-later OR LicenseRef-Liferay-DXP-EULA-2.0.0-2023-06
*/
--%>
<%
JSONObject jsonObject = JSONFactoryUtil.createJSONObject(userNotificationEvent.getPayload());
boolean anonymous = jsonObject.getBoolean("anonymous");
long userNotificationEventUserId = jsonObject.getLong("userId");
boolean notificationUnread = !actionRequired && !userNotificationEvent.isArchived() && (userNotificationFeedEntry != null) && userNotificationFeedEntry.isApplicable();
if (notificationUnread) {
row.setCssClass("list-group-item-primary");
}
%>
<%@ include file="/notifications/user_notification_entry_body.jspf" %>
<%
UserNotificationEventActionDropdownItem userNotificationEventActionDropdownItem = new UserNotificationEventActionDropdownItem(request, renderResponse);
%>
© 2015 - 2025 Weber Informatics LLC | Privacy Policy