META-INF.resources.asset.folder_full_content.jsp 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
*/
--%>
<%@ include file="/asset/init.jsp" %>
<%
JournalDisplayContext journalDisplayContext = (JournalDisplayContext)request.getAttribute(JournalDisplayContext.class.getName());
JournalFolder folder = journalDisplayContext.getFolder();
%>
<%= HtmlUtil.replaceNewLine(HtmlUtil.escape(folder.getDescription())) %>
<%
int foldersCount = JournalFolderServiceUtil.getFoldersCount(folder.getGroupId(), folder.getFolderId(), journalDisplayContext.getStatus());
%>
<%= foldersCount %>
<%
int entriesCount = JournalArticleServiceUtil.getArticlesCount(folder.getGroupId(), folder.getFolderId(), journalDisplayContext.getStatus());
%>
<%= entriesCount %>
© 2015 - 2024 Weber Informatics LLC | Privacy Policy