From 6df4737e7e0da1642e9298319985e6045c39eeb8 Mon Sep 17 00:00:00 2001 From: Olivier Lamy Date: Tue, 24 Jan 2012 09:18:24 +0000 Subject: [PATCH] [MRM-1574] remote repositories grid view display url too. git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1235178 13f79535-47bb-0310-9956-ffa450edef68 --- .../resources/org/apache/archiva/i18n/default.properties | 6 +++++- .../src/main/webapp/js/archiva/repositories.js | 9 ++++++--- .../main/webapp/js/archiva/templates/repositories.html | 9 +++++---- 3 files changed, 16 insertions(+), 8 deletions(-) diff --git a/archiva-modules/archiva-web/archiva-web-common/src/main/resources/org/apache/archiva/i18n/default.properties b/archiva-modules/archiva-web/archiva-web-common/src/main/resources/org/apache/archiva/i18n/default.properties index 757112f43..c739e0452 100644 --- a/archiva-modules/archiva-web/archiva-web-common/src/main/resources/org/apache/archiva/i18n/default.properties +++ b/archiva-modules/archiva-web/archiva-web-common/src/main/resources/org/apache/archiva/i18n/default.properties @@ -39,4 +39,8 @@ managedrepository.scanned=Managed Repository " {0} " scanned. managedrepository.stats.endTime=Last Scanned managedrepository.stats.duration=Duration managedrepository.stats.totalFileCount=Total File Count -managedrepository.stats.newFileCount=New Files Found \ No newline at end of file +managedrepository.stats.newFileCount=New Files Found + + +# remote repositories screen +remoterepository.downloadremoteindex.now=Download Remote Index Now \ No newline at end of file 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 2c85457a6..c4675944b 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 @@ -535,8 +535,8 @@ $(function() { $.log("removeRemoteRepository"); } - downloadRemoteIndex=function(remoteRepository){ - $.log("downloadRemoteIndex"); + scheduleDownloadRemoteIndex=function(remoteRepository){ + $.log("scheduleDownloadRemoteIndex"); } } @@ -609,6 +609,10 @@ $(function() { headerText: $.i18n.prop('name'), rowText: "name" }, + { + headerText: $.i18n.prop('url'), + rowText: "url" + }, { headerText: $.i18n.prop('type'), rowText: "getTypeLabel", @@ -625,7 +629,6 @@ $(function() { $("#main-content #remote-repositories-pills").pills(); $("#remote-repositories-view").addClass("active"); removeMediumSpinnerImg("#main-content #remote-repositories-content"); - //activateManagedRepositoriesGridTab(); } } ); diff --git a/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/archiva/templates/repositories.html b/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/archiva/templates/repositories.html index 21674e39a..61bd47802 100644 --- a/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/archiva/templates/repositories.html +++ b/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/archiva/templates/repositories.html @@ -309,16 +309,17 @@ {{each(j, columnDefinition) columns}} ${ typeof columnDefinition.rowText == 'function' ? columnDefinition.rowText(row) : row[columnDefinition.rowText] } {{/each}} - ${$.i18n.prop('edit')} + + ${$.i18n.prop('edit')} + - - + + -- 2.39.5