]> source.dussan.org Git - archiva.git/commitdiff
[MRM-1576] "magnify" :-) view with a blockquote element.
authorOlivier Lamy <olamy@apache.org>
Mon, 30 Jan 2012 22:14:10 +0000 (22:14 +0000)
committerOlivier Lamy <olamy@apache.org>
Mon, 30 Jan 2012 22:14:10 +0000 (22:14 +0000)
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1238039 13f79535-47bb-0310-9956-ffa450edef68

archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/archiva/proxy-connectors.js
archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/archiva/templates/proxy-connectors.html

index e9f789cfdc875e622afddc67a11148b71d791548..5cb613e2c999ce22180ea9e0dfcd32e5af993362 100644 (file)
@@ -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);
index 9af797cfd8c85589c7f6d1a477bc02b60b4c9c60..8315dd0620d1417a3503026e3b455035e7c031b8 100644 (file)
   {{each(i, row) itemsOnCurrentPage()}}
     <tr>
         {{var val = row.source()}}
-      <td>${val}-${getManagedRepository(val).name()}</td>
+      <td>
+        <blockquote>
+          <p>${val}</p>
+          <p>${getManagedRepository(val).name()}</p>
+        </blockquote>
       <td>
           {{each(j, targetRepo) row.targetRepos()}}
           {{var targetRepoId = targetRepo.targetRepoId()}}
-            <div>${targetRepoId}-${getRemoteRepository(targetRepoId).name()}</div>
+          <blockquote>
+            <p>${targetRepoId}</p>
+            <p>${getRemoteRepository(targetRepoId).name()}</p>
+            <p>${getRemoteRepository(targetRepoId).url()}</p>
+          </blockquote>
           {{/each}}
       </td>
     </tr>