fix for hiding some of the CLOSED BATCHES Forms
This commit is contained in:
parent
704272a17b
commit
081509e51c
14
pom.xml
14
pom.xml
|
@ -50,10 +50,12 @@
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>org.gcube.resources.discovery</groupId>
|
<groupId>org.gcube.resources.discovery</groupId>
|
||||||
<artifactId>ic-client</artifactId>
|
<artifactId>ic-client</artifactId>
|
||||||
|
<version>1.0.4-4.15.0-162683</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>org.gcube.resources</groupId>
|
<groupId>org.gcube.resources</groupId>
|
||||||
<artifactId>registry-publisher</artifactId>
|
<artifactId>registry-publisher</artifactId>
|
||||||
|
<version>1.2.9-4.15.0-151412</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>org.apache.httpcomponents</groupId>
|
<groupId>org.apache.httpcomponents</groupId>
|
||||||
|
@ -63,6 +65,7 @@
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>org.gcube.portal</groupId>
|
<groupId>org.gcube.portal</groupId>
|
||||||
<artifactId>storagehub-icons-library</artifactId>
|
<artifactId>storagehub-icons-library</artifactId>
|
||||||
|
<version>1.1.1-4.13.1-173244</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>org.gcube.dvos</groupId>
|
<groupId>org.gcube.dvos</groupId>
|
||||||
|
@ -82,40 +85,45 @@
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>org.gcube.common</groupId>
|
<groupId>org.gcube.common</groupId>
|
||||||
<artifactId>storagehub-client-library</artifactId>
|
<artifactId>storagehub-client-library</artifactId>
|
||||||
|
<version>1.0.8</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>org.gcube.common</groupId>
|
<groupId>org.gcube.common</groupId>
|
||||||
<artifactId>storagehub-model</artifactId>
|
<artifactId>storagehub-model</artifactId>
|
||||||
|
<version>1.0.5</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>org.gcube.core</groupId>
|
<groupId>org.gcube.core</groupId>
|
||||||
<artifactId>common-scope-maps</artifactId>
|
<artifactId>common-scope-maps</artifactId>
|
||||||
<scope>compile</scope>
|
<version>1.1.0-4.15.0-178670</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>org.gcube.common</groupId>
|
<groupId>org.gcube.common</groupId>
|
||||||
<artifactId>home-library</artifactId>
|
<artifactId>home-library</artifactId>
|
||||||
|
<version>2.10.2-4.13.1-164488</version>
|
||||||
<scope>provided</scope>
|
<scope>provided</scope>
|
||||||
</dependency>
|
</dependency>
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>org.gcube.common</groupId>
|
<groupId>org.gcube.common</groupId>
|
||||||
<artifactId>home-library-jcr</artifactId>
|
<artifactId>home-library-jcr</artifactId>
|
||||||
|
<version>2.11.5-4.13.1-169333</version>
|
||||||
<scope>provided</scope>
|
<scope>provided</scope>
|
||||||
</dependency>
|
</dependency>
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>org.gcube.common</groupId>
|
<groupId>org.gcube.common</groupId>
|
||||||
<artifactId>home-library-model</artifactId>
|
<artifactId>home-library-model</artifactId>
|
||||||
|
<version>1.8.1-4.13.1-164481</version>
|
||||||
<scope>provided</scope>
|
<scope>provided</scope>
|
||||||
</dependency>
|
</dependency>
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>org.gcube.common</groupId>
|
<groupId>org.gcube.common</groupId>
|
||||||
<artifactId>authorization-client</artifactId>
|
<artifactId>authorization-client</artifactId>
|
||||||
<scope>provided</scope>
|
<version>2.0.6</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>org.gcube.common</groupId>
|
<groupId>org.gcube.common</groupId>
|
||||||
<artifactId>common-authorization</artifactId>
|
<artifactId>common-authorization</artifactId>
|
||||||
<scope>provided</scope>
|
<version>2.2.0</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>org.postgresql</groupId>
|
<groupId>org.postgresql</groupId>
|
||||||
|
|
|
@ -12,6 +12,8 @@
|
||||||
pageContext.setAttribute("selectedPhase", selectedPhase);
|
pageContext.setAttribute("selectedPhase", selectedPhase);
|
||||||
GCubeTeam theFarm = (GCubeTeam) request.getAttribute("theFarm");
|
GCubeTeam theFarm = (GCubeTeam) request.getAttribute("theFarm");
|
||||||
pageContext.setAttribute("theFarm", theFarm);
|
pageContext.setAttribute("theFarm", theFarm);
|
||||||
|
|
||||||
|
|
||||||
%>
|
%>
|
||||||
<c:if test="${not empty theFarm }">
|
<c:if test="${not empty theFarm }">
|
||||||
<div class="row-fluid">
|
<div class="row-fluid">
|
||||||
|
@ -29,14 +31,15 @@
|
||||||
<table class="display">
|
<table class="display">
|
||||||
<tbody>
|
<tbody>
|
||||||
<c:forEach var="file" items="${theSheets}">
|
<c:forEach var="file" items="${theSheets}">
|
||||||
<tr>
|
<%
|
||||||
|
WorkspaceItem item = (WorkspaceItem) pageContext.getAttribute("file");
|
||||||
|
String iconHTML = IconsManager.getMDIconTextualName(item.getName()).getHtml();
|
||||||
|
String display = (!item.getName().equals("CLOSED BATCHES Farm Data.xlsx") && item.getName().startsWith("CLOSED")) ? "none": "block";
|
||||||
|
%>
|
||||||
|
<tr style="display: <%=display%>;">
|
||||||
<portlet:resourceURL var="downloadFileURL">
|
<portlet:resourceURL var="downloadFileURL">
|
||||||
<portlet:param name="fileToDownloadId" value="${file.id}" />
|
<portlet:param name="fileToDownloadId" value="${file.id}" />
|
||||||
</portlet:resourceURL>
|
</portlet:resourceURL>
|
||||||
<%
|
|
||||||
WorkspaceItem item = (WorkspaceItem) pageContext.getAttribute("file");
|
|
||||||
String iconHTML = IconsManager.getMDIconTextualName(item.getName()).getHtml();
|
|
||||||
%>
|
|
||||||
<td><%=iconHTML%></td>
|
<td><%=iconHTML%></td>
|
||||||
<td><span style="font-size: 1.1em; padding: 15px 10px; "><a
|
<td><span style="font-size: 1.1em; padding: 15px 10px; "><a
|
||||||
href="javascript:downloadItem('${downloadFileURL}');"
|
href="javascript:downloadItem('${downloadFileURL}');"
|
||||||
|
|
Loading…
Reference in New Issue