You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@rave.apache.org by ja...@apache.org on 2011/10/26 12:57:37 UTC
svn commit: r1189130 - in
/incubator/rave/trunk/rave-portal-resources/src/main/webapp/WEB-INF/views/admin:
users.jsp widgets.jsp
Author: jasha
Date: Wed Oct 26 10:57:37 2011
New Revision: 1189130
URL: http://svn.apache.org/viewvc?rev=1189130&view=rev
Log:
RAVE-300 RAVE-301 don't display table headers if the resultset is empty
Modified:
incubator/rave/trunk/rave-portal-resources/src/main/webapp/WEB-INF/views/admin/users.jsp
incubator/rave/trunk/rave-portal-resources/src/main/webapp/WEB-INF/views/admin/widgets.jsp
Modified: incubator/rave/trunk/rave-portal-resources/src/main/webapp/WEB-INF/views/admin/users.jsp
URL: http://svn.apache.org/viewvc/incubator/rave/trunk/rave-portal-resources/src/main/webapp/WEB-INF/views/admin/users.jsp?rev=1189130&r1=1189129&r2=1189130&view=diff
==============================================================================
--- incubator/rave/trunk/rave-portal-resources/src/main/webapp/WEB-INF/views/admin/users.jsp (original)
+++ incubator/rave/trunk/rave-portal-resources/src/main/webapp/WEB-INF/views/admin/users.jsp Wed Oct 26 10:57:37 2011
@@ -53,6 +53,7 @@
<rave:admin_listheader/>
<rave:admin_paging/>
+ <c:if test="${searchResult.totalResults > 0}">
<table class="datatable userstable">
<thead>
<tr>
@@ -72,6 +73,7 @@
</c:forEach>
</tbody>
</table>
+ </c:if>
<rave:admin_paging/>
Modified: incubator/rave/trunk/rave-portal-resources/src/main/webapp/WEB-INF/views/admin/widgets.jsp
URL: http://svn.apache.org/viewvc/incubator/rave/trunk/rave-portal-resources/src/main/webapp/WEB-INF/views/admin/widgets.jsp?rev=1189130&r1=1189129&r2=1189130&view=diff
==============================================================================
--- incubator/rave/trunk/rave-portal-resources/src/main/webapp/WEB-INF/views/admin/widgets.jsp (original)
+++ incubator/rave/trunk/rave-portal-resources/src/main/webapp/WEB-INF/views/admin/widgets.jsp Wed Oct 26 10:57:37 2011
@@ -63,6 +63,7 @@
<rave:admin_listheader/>
<rave:admin_paging/>
+ <c:if test="${searchResult.totalResults > 0}">
<table class="datatable widgetstable">
<thead>
<tr>
@@ -82,6 +83,7 @@
</c:forEach>
</tbody>
</table>
+ </c:if>
<rave:admin_paging/>