JSPUI: show Recent Submission header only iff there are recent submissions

This commit is contained in:
Monika Mevenkamp
2015-07-09 15:14:20 -04:00
parent 82a200b7e4
commit 504096811a
2 changed files with 2 additions and 2 deletions

View File

@@ -364,7 +364,7 @@
<% } %>
<%
if (rs != null)
if (rs != null && rs.count() > 0)
{
%>
<h3><fmt:message key="jsp.collection-home.recentsub"/></h3>

View File

@@ -104,7 +104,7 @@
<p class="copyrightText"><%= copyright %></p>
<div class="row">
<%
if (rs != null)
if (rs != null && rs.count() > 0)
{ %>
<div class="col-md-8">
<div class="panel panel-primary">