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}} +