From 3292b98b72547a81300f390c92792a27418f415b Mon Sep 17 00:00:00 2001 From: Olivier Lamy Date: Mon, 19 Nov 2012 15:22:47 +0000 Subject: [PATCH] [MRM-1712] Add buttons for managing proxy connectors rules as can be a pain with long list of repositories. git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1411243 13f79535-47bb-0310-9956-ffa450edef68 --- .../js/archiva/proxy-connectors-rules.js | 93 +++++++++++++++---- .../js/templates/archiva/repositories.html | 29 ++++-- 2 files changed, 94 insertions(+), 28 deletions(-) diff --git a/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/archiva/proxy-connectors-rules.js b/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/archiva/proxy-connectors-rules.js index efcbda1db..ef2b2e99b 100644 --- a/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/archiva/proxy-connectors-rules.js +++ b/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/archiva/proxy-connectors-rules.js @@ -40,6 +40,15 @@ define("archiva.proxy-connectors-rules",["jquery","i18n","jquery.tmpl","bootstra return ruleType; } + this.findProxyConnector=function(sourceRepoId,targetRepoId){ + for(var i=0;i
+ data-bind="sortable: { template: 'proxy-connectors-rules-edit-proxy-connectors-tmpl-choosen',data:proxyConnectorRule.proxyConnectors,afterMove:proxyConnectorMoved}">
${$.i18n.prop('proxy-connector-rules.available.proxyConnectors')}

-
+
@@ -1507,11 +1507,22 @@
- + + \ No newline at end of file -- 2.39.5