From 504096811ab2e30c55a800b6819c03125a1e942f Mon Sep 17 00:00:00 2001 From: Monika Mevenkamp Date: Thu, 9 Jul 2015 15:14:20 -0400 Subject: [PATCH] JSPUI: show Recent Submission header only iff there are recent submissions --- dspace-jspui/src/main/webapp/collection-home.jsp | 2 +- dspace-jspui/src/main/webapp/community-home.jsp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/dspace-jspui/src/main/webapp/collection-home.jsp b/dspace-jspui/src/main/webapp/collection-home.jsp index c3b020c517..6bdd40ea19 100644 --- a/dspace-jspui/src/main/webapp/collection-home.jsp +++ b/dspace-jspui/src/main/webapp/collection-home.jsp @@ -364,7 +364,7 @@ <% } %> <% - if (rs != null) + if (rs != null && rs.count() > 0) { %>

diff --git a/dspace-jspui/src/main/webapp/community-home.jsp b/dspace-jspui/src/main/webapp/community-home.jsp index 775c47e37d..1fa374fb8d 100644 --- a/dspace-jspui/src/main/webapp/community-home.jsp +++ b/dspace-jspui/src/main/webapp/community-home.jsp @@ -104,7 +104,7 @@

<%= copyright %>

<% - if (rs != null) + if (rs != null && rs.count() > 0) { %>