META-INF.resources.process_summary.process_summary_pages.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
*/
--%>
<%
ProcessSummaryDisplayContext processSummaryDisplayContext = new ProcessSummaryDisplayContext();
boolean settingsMapPrivateLayout = MapUtil.getBoolean(exportImportConfigurationSettingsMap, "privateLayout");
LayoutSetBranch layoutSetBranch = LayoutSetBranchLocalServiceUtil.fetchLayoutSetBranch(MapUtil.getLong(parameterMap, "layoutSetBranchId"));
List pageNames = processSummaryDisplayContext.getPageNames(groupId, settingsMapPrivateLayout, processSummaryDisplayContext.getSelectedLayoutIds(exportImportConfigurationSettingsMap), themeDisplay.getLanguageId());
boolean deleteMissingLayouts = MapUtil.getBoolean(parameterMap, PortletDataHandlerKeys.DELETE_MISSING_LAYOUTS);
boolean layoutSetSettings = MapUtil.getBoolean(parameterMap, PortletDataHandlerKeys.LAYOUT_SET_SETTINGS);
boolean layoutSetPrototypeSettings = MapUtil.getBoolean(parameterMap, PortletDataHandlerKeys.LAYOUT_SET_PROTOTYPE_SETTINGS);
boolean logo = MapUtil.getBoolean(parameterMap, PortletDataHandlerKeys.LOGO);
boolean themeSettings = MapUtil.getBoolean(parameterMap, PortletDataHandlerKeys.THEME_REFERENCE);
long pageDeletions = 0;
if ((modelDeletionCounters != null) && modelDeletionCounters.containsKey(Layout.class.getName())) {
LongWrapper pageDeletionsLongWrapper = modelDeletionCounters.get(Layout.class.getName());
pageDeletions = pageDeletionsLongWrapper.getValue();
}
%>
<%= processSummaryDisplayContext.getPagesDescription(groupId, locale, settingsMapPrivateLayout) %>
<%= HtmlUtil.escape(LanguageUtil.get(request, layoutSetBranch.getName())) %>
${pageName}
-
-
-
-
-
<%= LanguageUtil.format(resourceBundle, "x-items-deleted", pageDeletions) %>