|
|
|
@ -5,17 +5,12 @@
|
|
|
|
|
<%@ taglib uri="http://liferay.com/tld/aui" prefix="aui" %>
|
|
|
|
|
<%@ taglib uri="http://liferay.com/tld/portlet" prefix="liferay-portlet" %>
|
|
|
|
|
<%@ taglib uri="http://liferay.com/tld/theme" prefix="liferay-theme" %>
|
|
|
|
|
<%@ page import="javax.portlet.PortletPreferences" %>
|
|
|
|
|
<%@ page import="com.liferay.portal.kernel.util.Constants" %>
|
|
|
|
|
<%@ page import="com.liferay.portal.kernel.util.GetterUtil" %>
|
|
|
|
|
<%@ page import="com.liferay.portal.kernel.util.StringPool" %>
|
|
|
|
|
<%@ page import="com.liferay.portal.util.PortalUtil" %>
|
|
|
|
|
|
|
|
|
|
<%
|
|
|
|
|
PortletPreferences prefs = request.getPreferences();
|
|
|
|
|
String catalogueActualURL = GetterUtil.getString(prefs.getValue("catalogueURL", StringPool.BLANK));
|
|
|
|
|
pageContext.setAttribute("catalogueActualURL", catalogueActualURL);
|
|
|
|
|
%>
|
|
|
|
|
|
|
|
|
|
<!-- show the types only when the ckan instance is specified in the config portlet part -->
|
|
|
|
|
<c:choose>
|
|
|
|
|
<c:when test="${not empty catalogueActualURL}">
|
|
|
|
|