[MRM-362] converted scan repository now to button, placed in pretty place in my own vicious table oriented way and renamed from Index Now

git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@541448 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Jesse McConnell 2007-05-24 22:06:10 +00:00
parent faae01e818
commit e705ccfc96

View File

@ -148,17 +148,28 @@
<th>Indexing Cron</th>
<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.