All Downloads are FREE. Search and download functionalities are using the official Maven repository.

META-INF.resources._unstyled.templates.portlet.ftl Maven / Gradle / Ivy

The newest version!
<#assign
	portlet_display = portletDisplay

	portlet_back_url = htmlUtil.escapeHREF(portlet_display.getURLBack())
	portlet_content_css_class = "portlet-content"
	portlet_display_name = htmlUtil.escape(portlet_display.getPortletDisplayName())
	portlet_display_root_portlet_id = htmlUtil.escapeAttribute(portlet_display.getRootPortletId())
	portlet_id = htmlUtil.escapeAttribute(portlet_display.getId())
	portlet_title = htmlUtil.escape(portlet_display.getTitle())
/>

<#if portlet_display.getPortletConfigurationIconMenu()?? && portlet_display.getPortletToolbar()?? && portlet_display.isPortletDecorate() && portlet_display.isShowPortletTopper() && !portlet_display.isStateMax()> <#assign portlet_configuration_icon_menu = portlet_display.getPortletConfigurationIconMenu() portlet_toolbar = portlet_display.getPortletToolbar() portlet_configuration_icons = portlet_configuration_icon_menu.getPortletConfigurationIcons(portlet_display_root_portlet_id, renderRequest, renderResponse) portlet_title_menus = portlet_toolbar.getPortletTitleMenus(portlet_display_root_portlet_id, renderRequest, renderResponse) /> <#if (portlet_configuration_icons?has_content || portlet_title_menus?has_content)>
${portlet_display_name}
<#foreach portletTitleMenu in portlet_title_menus> ${portletTitleMenu.setDirection("right cadmin")} <@liferay_ui["menu"] menu=portletTitleMenu /> <#if portlet_configuration_icons?has_content> <@liferay_frontend["icon-options"] direction="right cadmin" portletConfigurationIcons=portlet_configuration_icons />
<#assign portlet_content_css_class = portlet_content_css_class + " portlet-content-editable" />
<#if portlet_display.isShowBackIcon()> "> <@liferay_ui["icon"] icon="angle-left" markupView="lexicon" />

${portlet_title}

<@liferay_util["dynamic-include"] key="portlet_header_${portlet_display_root_portlet_id}" />
${portlet_display.writeContent(writer)}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy