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 2007/07/12 09:48:30 UTC
svn commit: r555516 -
/maven/continuum/trunk/continuum-webapp/src/main/webapp/WEB-INF/jsp/buildResults.jsp
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>