continuum-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From eveni...@apache.org
Subject svn commit: r478918 - /maven/continuum/trunk/continuum-webapp/src/main/webapp/WEB-INF/jsp/components/projectGroupNotifierSummaryComponent.jsp
Date Fri, 24 Nov 2006 17:09:17 GMT
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>



Mime
View raw message