archiva-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ol...@apache.org
Subject svn commit: r1370529 - /archiva/trunk/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/archiva/main.js
Date Tue, 07 Aug 2012 21:22:04 GMT
Author: olamy
Date: Tue Aug  7 21:22:03 2012
New Revision: 1370529

URL: http://svn.apache.org/viewvc?rev=1370529&view=rev
Log:
add a route to display artifact detail for a repository

Modified:
    archiva/trunk/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/archiva/main.js

Modified: archiva/trunk/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/archiva/main.js
URL: http://svn.apache.org/viewvc/archiva/trunk/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/archiva/main.js?rev=1370529&r1=1370528&r2=1370529&view=diff
==============================================================================
--- archiva/trunk/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/archiva/main.js
(original)
+++ archiva/trunk/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/archiva/main.js
Tue Aug  7 21:22:03 2012
@@ -223,6 +223,15 @@ function() {
           generalDisplayArtifactDetailsVersionView(groupId,artifactId,version,repositoryId);
 
         });
+        this.get('#artifact~:repositoryId/:groupId/:artifactId/:version',function(context){
+
+          var repositoryId = this.params.repositoryId;
+          var groupId= this.params.groupId;
+          var artifactId= this.params.artifactId;
+          var version= this.params.version;
+          generalDisplayArtifactDetailsVersionView(groupId,artifactId,version,repositoryId);
+
+        });
         this.get('#browse/:groupId',function(context){
           var groupId = this.params.groupId;
           if (groupId){



Mime
View raw message