You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@continuum.apache.org by ev...@apache.org on 2006/11/24 18:09:17 UTC
svn commit: r478918 -
/maven/continuum/trunk/continuum-webapp/src/main/webapp/WEB-INF/jsp/components/projectGroupNotifierSummaryComponent.jsp
Author: evenisse
Date: Fri Nov 24 09:09:17 2006
New Revision: 478918
URL: http://svn.apache.org/viewvc?view=rev&rev=478918
Log:
Don't show project notifiers table if it is empty
Modified:
maven/continuum/trunk/continuum-webapp/src/main/webapp/WEB-INF/jsp/components/projectGroupNotifierSummaryComponent.jsp
Modified: maven/continuum/trunk/continuum-webapp/src/main/webapp/WEB-INF/jsp/components/projectGroupNotifierSummaryComponent.jsp
URL: http://svn.apache.org/viewvc/maven/continuum/trunk/continuum-webapp/src/main/webapp/WEB-INF/jsp/components/projectGroupNotifierSummaryComponent.jsp?view=diff&rev=478918&r1=478917&r2=478918
==============================================================================
--- maven/continuum/trunk/continuum-webapp/src/main/webapp/WEB-INF/jsp/components/projectGroupNotifierSummaryComponent.jsp (original)
+++ maven/continuum/trunk/continuum-webapp/src/main/webapp/WEB-INF/jsp/components/projectGroupNotifierSummaryComponent.jsp Fri Nov 24 09:09:17 2006
@@ -62,21 +62,22 @@
</pss:ifAuthorized>
</div>
- <h3>Project Notifiers</h3>
- <ec:table items="projectNotifierSummaries"
- var="projectNotifierSummary"
- showExports="false"
- showPagination="false"
- showStatusBar="false"
- filterable="false"
- sortable="false">
- <ec:row>
- <ec:column property="type" title="projectView.notifier.type"/>
- <ec:column property="recipient" title="projectView.notifier.recipient"/>
- <ec:column property="events" title="projectView.notifier.events"/>
- <ec:column property="sender" title="projectView.notifier.from"/>
- <ec:column property="state" value="Enabled/Disabled" />
-
- </ec:row>
- </ec:table>
+ <ww:if test="${not empty projectNotifierSummaries}">
+ <h3>Project Notifiers</h3>
+ <ec:table items="projectNotifierSummaries"
+ var="projectNotifierSummary"
+ showExports="false"
+ showPagination="false"
+ showStatusBar="false"
+ filterable="false"
+ sortable="false">
+ <ec:row>
+ <ec:column property="type" title="projectView.notifier.type"/>
+ <ec:column property="recipient" title="projectView.notifier.recipient"/>
+ <ec:column property="events" title="projectView.notifier.events"/>
+ <ec:column property="sender" title="projectView.notifier.from"/>
+ <ec:column property="state" value="Enabled/Disabled" />
+ </ec:row>
+ </ec:table>
+ </ww:if>
</ww:i18n>