continuum-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ol...@apache.org
Subject svn commit: r679633 - /continuum/branches/CONTINUUM-782/continuum-webapp/src/main/webapp/WEB-INF/jsp/admin/editPurgeConfiguration.jsp
Date Fri, 25 Jul 2008 00:24:25 GMT
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"/>



Mime
View raw message