Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
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...
commit 37ebf2d204eefb50f3e21e6e4dd8cc4e5cf889be 1 parent dd13971
@olamy olamy authored
View
10 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"/>
Please sign in to comment.
Something went wrong with that request. Please try again.