From: Olivier Lamy Date: Mon, 30 Jan 2012 22:14:10 +0000 (+0000) Subject: [MRM-1576] "magnify" :-) view with a blockquote element. X-Git-Tag: archiva-1.4-M3~1428 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=e6d96df736f554bad7685dcd061a17265957811d;p=archiva.git [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 --- 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()}} {{var val = row.source()}} - ${val}-${getManagedRepository(val).name()} + +
+

${val}

+

${getManagedRepository(val).name()}

+
{{each(j, targetRepo) row.targetRepos()}} {{var targetRepoId = targetRepo.targetRepoId()}} -
${targetRepoId}-${getRemoteRepository(targetRepoId).name()}
+
+

${targetRepoId}

+

${getRemoteRepository(targetRepoId).name()}

+

${getRemoteRepository(targetRepoId).url()}

+
{{/each}}