Permalink
Browse files

revert capability to configure default flag

git-svn-id: https://svn.apache.org/repos/asf/continuum/branches/CONTINUUM-782@679633 13f79535-47bb-0310-9956-ffa450edef68
  • Loading branch information...
1 parent dd13971 commit 37ebf2d204eefb50f3e21e6e4dd8cc4e5cf889be @olamy olamy committed Jul 25, 2008
Showing with 9 additions and 1 deletion.
  1. +9 −1 continuum-webapp/src/main/webapp/WEB-INF/jsp/admin/editPurgeConfiguration.jsp
@@ -56,7 +56,15 @@
<c:if test="${purgeType == 'repository'}">
<ww:checkbox label="%{getText('purgeConfig.deleteReleasedSnapshots.label')}" name="deleteReleasedSnapshots"/>
</c:if>
- <ww:checkbox label="%{getText('purgeConfig.defaultPurge.label')}" name="defaultPurgeConfiguration" value="defaultPurgeConfiguration" fieldValue="true"/>
+ <c:choose>
+ <c:when test="${defaultPurgeConfiguration == true}">
+ <ww:hidden name="defaultPurgeConfiguration"/>
+ <ww:label label="%{getText('purgeConfig.defaultPurge.label')}" value="true"/>
+ </c:when>
+ <c:otherwise>
+ <ww:checkbox label="%{getText('purgeConfig.defaultPurge.label')}" name="defaultPurgeConfiguration" value="defaultPurgeConfiguration" fieldValue="true"/>
+ </c:otherwise>
+ </c:choose>
<ww:select label="%{getText('purgeConfig.schedule.label')}" name="scheduleId" list="schedules"
headerKey="-1" headerValue=""/>
<ww:textfield label="%{getText('purgeConfig.description.label')}" name="description"/>

0 comments on commit 37ebf2d

Please sign in to comment.