You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@continuum.apache.org by ol...@apache.org on 2008/07/25 02:24:25 UTC
svn commit: r679633 -
/continuum/branches/CONTINUUM-782/continuum-webapp/src/main/webapp/WEB-INF/jsp/admin/editPurgeConfiguration.jsp
Author: olamy
Date: Thu Jul 24 17:24:25 2008
New Revision: 679633
URL: http://svn.apache.org/viewvc?rev=679633&view=rev
Log:
revert capability to configure default flag
Modified:
continuum/branches/CONTINUUM-782/continuum-webapp/src/main/webapp/WEB-INF/jsp/admin/editPurgeConfiguration.jsp
Modified: continuum/branches/CONTINUUM-782/continuum-webapp/src/main/webapp/WEB-INF/jsp/admin/editPurgeConfiguration.jsp
URL: http://svn.apache.org/viewvc/continuum/branches/CONTINUUM-782/continuum-webapp/src/main/webapp/WEB-INF/jsp/admin/editPurgeConfiguration.jsp?rev=679633&r1=679632&r2=679633&view=diff
==============================================================================
--- continuum/branches/CONTINUUM-782/continuum-webapp/src/main/webapp/WEB-INF/jsp/admin/editPurgeConfiguration.jsp (original)
+++ continuum/branches/CONTINUUM-782/continuum-webapp/src/main/webapp/WEB-INF/jsp/admin/editPurgeConfiguration.jsp Thu Jul 24 17:24:25 2008
@@ -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"/>