continuum-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From eveni...@apache.org
Subject svn commit: r555516 - /maven/continuum/trunk/continuum-webapp/src/main/webapp/WEB-INF/jsp/buildResults.jsp
Date Thu, 12 Jul 2007 07:48:30 GMT
Author: evenisse
Date: Thu Jul 12 00:48:29 2007
New Revision: 555516

URL: http://svn.apache.org/viewvc?view=rev&rev=555516
Log:
Don't show the delete button if build results list is empty

Modified:
    maven/continuum/trunk/continuum-webapp/src/main/webapp/WEB-INF/jsp/buildResults.jsp

Modified: maven/continuum/trunk/continuum-webapp/src/main/webapp/WEB-INF/jsp/buildResults.jsp
URL: http://svn.apache.org/viewvc/maven/continuum/trunk/continuum-webapp/src/main/webapp/WEB-INF/jsp/buildResults.jsp?view=diff&rev=555516&r1=555515&r2=555516
==============================================================================
--- maven/continuum/trunk/continuum-webapp/src/main/webapp/WEB-INF/jsp/buildResults.jsp (original)
+++ maven/continuum/trunk/continuum-webapp/src/main/webapp/WEB-INF/jsp/buildResults.jsp Thu
Jul 12 00:48:29 2007
@@ -73,19 +73,21 @@
               </ec:column>
             </ec:row>
           </ec:table>
-          <div class="functnbar3">
-            <table>
-              <tbody>
-              <tr>
-                <td>
-                  <redback:ifAuthorized permission="continuum-modify-group" resource="${projectGroupName}">
-                    <input type="button" name="delete-project" value="<ww:text name="delete"/>"
onclick="document.forms.buildResultsForm.submit();" />
-                  </redback:ifAuthorized>
-                </td>
-              </tr>
-              </tbody>
-            </table>
-          </div>
+          <ww:if test="${not empty buildResults}">
+            <div class="functnbar3">
+              <table>
+                <tbody>
+                  <tr>
+                    <td>
+                      <redback:ifAuthorized permission="continuum-modify-group" resource="${projectGroupName}">
+                        <input type="button" name="delete-project" value="<ww:text
name="delete"/>" onclick="document.forms.buildResultsForm.submit();" />
+                      </redback:ifAuthorized>
+                    </td>
+                  </tr>
+                </tbody>
+              </table>
+            </div>
+          </ww:if>
         </form>
       </div>
     </body>



Mime
View raw message