diff --git a/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/archiva/proxy-connectors.js b/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/archiva/proxy-connectors.js index e9f789cfd..5cb613e2c 100644 --- a/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/archiva/proxy-connectors.js +++ b/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/archiva/proxy-connectors.js @@ -110,6 +110,10 @@ $(function() { return ($.isArray(remoteRepository) && remoteRepository.length>0) ?remoteRepository[0]:new RemoteRepository(); } + getProxyConnector=function(sourceRepoId,targetRepoId){ + ici + } + this.displayGrid=function(){ self.managedRepositoryConnectorViews(this.findUniqueManagedRepos()); $.log("uniqueManagedRepos:"+self.managedRepositoryConnectorViews().length); diff --git a/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/archiva/templates/proxy-connectors.html b/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/archiva/templates/proxy-connectors.html index 9af797cfd..8315dd062 100644 --- a/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/archiva/templates/proxy-connectors.html +++ b/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/archiva/templates/proxy-connectors.html @@ -52,11 +52,19 @@ {{each(i, row) itemsOnCurrentPage()}}
+${val}
+${getManagedRepository(val).name()}
+
+{{/each}}${targetRepoId}
+${getRemoteRepository(targetRepoId).name()}
+${getRemoteRepository(targetRepoId).url()}
+