From 3163bbd09a92d1be2f85d01b8581c9b0cb10a806 Mon Sep 17 00:00:00 2001 From: Olivier Lamy Date: Tue, 25 Sep 2012 21:17:24 +0000 Subject: [PATCH] fix url display in repository groups definition page git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1390147 13f79535-47bb-0310-9956-ffa450edef68 --- .../main/webapp/js/archiva/repositories.js | 5 +- .../webapp/js/archiva/repository-groups.js | 75 +++++++++++-------- .../js/templates/archiva/repositories.html | 4 +- 3 files changed, 48 insertions(+), 36 deletions(-) diff --git a/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/archiva/repositories.js b/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/archiva/repositories.js index 8fd0b496e..99c2e73c3 100644 --- a/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/archiva/repositories.js +++ b/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/archiva/repositories.js @@ -34,7 +34,7 @@ define("archiva.repositories",["jquery","i18n","jquery.tmpl","bootstrap","jquery ManagedRepository=function(id,name,layout,indexDirectory,location,snapshots,releases,blockRedeployments,cronExpression, scanned,daysOlder,retentionCount,deleteReleasedSnapshots,stageRepoNeeded,description, - skipPackedIndexCreation,feedsUrl){ + skipPackedIndexCreation,feedsUrl,url){ var self=this; @@ -105,6 +105,8 @@ define("archiva.repositories",["jquery","i18n","jquery.tmpl","bootstrap","jquery this.feedsUrl=feedsUrl; + this.url=url; + this.getTypeLabel=function(){ for(var i=0;i ${$data.name()}
- - ${window.archivaRuntimeInfo.baseUrl}/repository/${$data.id()} + + ${$data.url}
-- 2.39.5