archiva-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jmcconn...@apache.org
Subject svn commit: r541448 - /maven/archiva/trunk/archiva-web/archiva-webapp/src/main/webapp/WEB-INF/jsp/admin/repositories.jsp
Date Thu, 24 May 2007 22:06:11 GMT
Author: jmcconnell
Date: Thu May 24 15:06:10 2007
New Revision: 541448

URL: http://svn.apache.org/viewvc?view=rev&rev=541448
Log:
[MRM-362] converted scan repository now to button, placed in pretty place in my own vicious
table oriented way and renamed from Index Now

Modified:
    maven/archiva/trunk/archiva-web/archiva-webapp/src/main/webapp/WEB-INF/jsp/admin/repositories.jsp

Modified: maven/archiva/trunk/archiva-web/archiva-webapp/src/main/webapp/WEB-INF/jsp/admin/repositories.jsp
URL: http://svn.apache.org/viewvc/maven/archiva/trunk/archiva-web/archiva-webapp/src/main/webapp/WEB-INF/jsp/admin/repositories.jsp?view=diff&rev=541448&r1=541447&r2=541448
==============================================================================
--- maven/archiva/trunk/archiva-web/archiva-webapp/src/main/webapp/WEB-INF/jsp/admin/repositories.jsp
(original)
+++ maven/archiva/trunk/archiva-web/archiva-webapp/src/main/webapp/WEB-INF/jsp/admin/repositories.jsp
Thu May 24 15:06:10 2007
@@ -149,16 +149,27 @@
               <td>${repository.refreshCronExpression}</td>
             </tr>
             <tr>
+              <th>
+              	Actions
+              </th>
+              <td>
+                <table>
+                  <tr>
+                    <td>
+              	      <redback:ifAuthorized permission="archiva-run-indexer">
+              	        <ww:form action="indexRepository">
+              	          <ww:hidden name="repoid" value="%{'${repository.id}'}"/>
+                          <ww:submit value="Scan Repository Now"/>
+                        </ww:form>
+                      </redback:ifAuthorized>
+                    </td>
+                  </tr>
+                </table>
+              </td>
+            </tr>
+            <tr>
               <th>Stats</th>
               <td>
-                <div style="float: right">
-                  <redback:ifAuthorized permission="archiva-run-indexer">
-                    <ww:url id="indexRepositoryUrl" action="indexRepository">
-                      <ww:param name="repoid" value="%{'${repository.id}'}" />
-                    </ww:url>
-                    <ww:a href="%{indexRepositoryUrl}">Index Repository</ww:a>
-                  </redback:ifAuthorized>
-                </div>
                 <c:choose>
                   <c:when test="${empty(repository.stats)}">
                     Never indexed.



Mime
View raw message