[MRM-1576] "magnify" :-) view with a blockquote element.

git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1238039 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Olivier Lamy 2012-01-30 22:14:10 +00:00
parent a535de0690
commit e6d96df736
2 changed files with 14 additions and 2 deletions

View File

@ -110,6 +110,10 @@ $(function() {
return ($.isArray(remoteRepository) && remoteRepository.length>0) ?remoteRepository[0]:new RemoteRepository(); return ($.isArray(remoteRepository) && remoteRepository.length>0) ?remoteRepository[0]:new RemoteRepository();
} }
getProxyConnector=function(sourceRepoId,targetRepoId){
ici
}
this.displayGrid=function(){ this.displayGrid=function(){
self.managedRepositoryConnectorViews(this.findUniqueManagedRepos()); self.managedRepositoryConnectorViews(this.findUniqueManagedRepos());
$.log("uniqueManagedRepos:"+self.managedRepositoryConnectorViews().length); $.log("uniqueManagedRepos:"+self.managedRepositoryConnectorViews().length);

View File

@ -52,11 +52,19 @@
{{each(i, row) itemsOnCurrentPage()}} {{each(i, row) itemsOnCurrentPage()}}
<tr> <tr>
{{var val = row.source()}} {{var val = row.source()}}
<td>${val}-${getManagedRepository(val).name()}</td> <td>
<blockquote>
<p>${val}</p>
<p>${getManagedRepository(val).name()}</p>
</blockquote>
<td> <td>
{{each(j, targetRepo) row.targetRepos()}} {{each(j, targetRepo) row.targetRepos()}}
{{var targetRepoId = targetRepo.targetRepoId()}} {{var targetRepoId = targetRepo.targetRepoId()}}
<div>${targetRepoId}-${getRemoteRepository(targetRepoId).name()}</div> <blockquote>
<p>${targetRepoId}</p>
<p>${getRemoteRepository(targetRepoId).name()}</p>
<p>${getRemoteRepository(targetRepoId).url()}</p>
</blockquote>
{{/each}} {{/each}}
</td> </td>
</tr> </tr>