From: Olivier Lamy Date: Wed, 21 Mar 2012 11:14:44 +0000 (+0000) Subject: [MRM-1615] Artifact detail view X-Git-Tag: archiva-1.4-M3~992 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=9ceb3ff84bdc77426b9d6cb1b460f318afa4e7e1;p=archiva.git [MRM-1615] Artifact detail view dependencies: display crumb git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1303362 13f79535-47bb-0310-9956-ffa450edef68 --- 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 587232a7f..52fc346ab 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 @@ -270,6 +270,7 @@ browse.artifact.scm=SCM browse.artifact.scm.connection=Connection browse.artifact.scm.devconnection=Dev. Connection browse.artifact.scm.viewer=Viewer +browse.artifact.scope=Scope #login login.username.placehoder=Username diff --git a/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/archiva/search.js b/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/archiva/search.js index baa2cccbc..524962a12 100644 --- a/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/archiva/search.js +++ b/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/archiva/search.js @@ -75,7 +75,6 @@ $(function() { for (var i=0;i - {{each(i,dependency) projectVersionMetadata.dependencies}} - - - - - - - {{/each}} + {{each(i,dependency) projectVersionMetadata.dependencies}} + + + + + + + {{/each}}
${dependency.artifactId}
${dependency.groupId},${dependency.artifactId},${dependency.version}
${dependency.artifactId}
+ {{var entries=dependency.crumbEntries()}} + {{each(j,crumbEntry) entries}} + ${crumbEntry.displayValue} + {{if j < entries.length - 1}} +  /  + {{/if}} + {{/each}} +  | ${$.i18n.prop('browse.artifact.version')}: ${dependency.version}  + {{if dependency.scope}} + | ${$.i18n.prop('browse.artifact.scope')}: ${dependency.scope} + {{/if}} +