]> source.dussan.org Git - archiva.git/commitdiff
[MRM-457] don't display the snapshot removal options in the repository list page...
authorBrett Porter <brett@apache.org>
Wed, 12 Sep 2007 12:10:08 +0000 (12:10 +0000)
committerBrett Porter <brett@apache.org>
Wed, 12 Sep 2007 12:10:08 +0000 (12:10 +0000)
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@574903 13f79535-47bb-0310-9956-ffa450edef68

archiva-web/archiva-webapp/src/main/webapp/WEB-INF/jsp/admin/repositories.jsp

index 210109fd402be5695d4161e35b73f35b268d5549..8a3cb7d6f7378f45698290b55d146b207fbc2172 100644 (file)
     </c:choose>
   </td>
 </tr>
-<tr>
-  <th>Repository Purge By Days Older Than</th>
-  <td>${repository.daysOlder}</td>
-</tr>
-<tr>
-  <th>Repository Purge By Retention Count</th>
-  <td>${repository.retentionCount}</td>
-</tr>
 <tr>
   <th>Releases Included</th>
   <td class="${repository.releases ? 'donemark' : 'errormark'} booleanIcon"> ${repository.releases}</td>
   <th>Snapshots Included</th>
   <td class="${repository.snapshots ? 'donemark' : 'errormark'} booleanIcon"> ${repository.snapshots}</td>
 </tr>
+<c:if test="${repository.snapshots}">
+  <tr>
+    <th>Delete Released Snapshots</th>
+    <td class="${repository.deleteReleasedSnapshots ? 'donemark' : 'errormark'} booleanIcon"> ${repository.deleteReleasedSnapshots}</td>
+  </tr>
+  <tr>
+    <th>Repository Purge By Days Older Than</th>
+    <td>${repository.daysOlder}</td>
+  </tr>
+  <tr>
+    <th>Repository Purge By Retention Count</th>
+    <td>${repository.retentionCount}</td>
+  </tr>
+</c:if>
 <tr>
   <th>Scanned</th>
   <td class="${repository.scanned ? 'donemark' : 'errormark'} booleanIcon"> ${repository.scanned}</td>
 </tr>
-<tr>
-  <th>Delete Released Snapshots</th>
-  <td class="${repository.deleteReleasedSnapshots ? 'donemark' : 'errormark'} booleanIcon"> ${repository.deleteReleasedSnapshots}</td>
-</tr>
 <c:if test="${repository.scanned}">
   <tr>
     <th>Scanning Cron</th>