From ea76547ec404e7272ae04ed5f661e4479f575fff Mon Sep 17 00:00:00 2001 From: Olivier Lamy Date: Wed, 21 Mar 2012 15:03:55 +0000 Subject: [PATCH] [MRM-1615] Artifact detail view mailing lists tabs git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1303421 13f79535-47bb-0310-9956-ffa450edef68 --- .../src/main/webapp/js/archiva/search.js | 2 -- .../webapp/js/archiva/templates/search.html | 34 ++++++++++++++++++- 2 files changed, 33 insertions(+), 3 deletions(-) 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 aaa16f53e..c74476d44 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 @@ -691,13 +691,11 @@ $(function() { this.version=version; this.crumbEntries=function(){ - $.log("Dependency#calculateCrumbEntries"); var splitted = self.groupId.split("."); var breadCrumbEntries=[]; var curGroupId=""; for (var i=0;i
- mailing list + {{if projectVersionMetadata.mailingLists}} +
+ {{each(i,mailingList) projectVersionMetadata.mailingLists}} +
+ + {{if i==0}} +
+ {{else}} +
+ {{/if}} +
+
${$.i18n.prop('browse.artifact.mailingList.subscribe')}: ${mailingList.subscribeAddress}
+
${$.i18n.prop('browse.artifact.mailingList.post')}: ${mailingList.postAddress}
+
${$.i18n.prop('browse.artifact.mailingList.unsubscribe')}: ${mailingList.unsubscribeAddress}
+
${$.i18n.prop('browse.artifact.mailingList.mainArchiveUrl')}: ${mailingList.mainArchiveUrl}
+ {{if mailingList.otherArchives}} +
+ ${$.i18n.prop('browse.artifact.mailingList.otherArchivesUrls')}: +
    + {{each(j,otherArchive) mailingList.otherArchives}} +
  • ${$.i18n.prop('browse.artifact.mailingList.otherArchiveUrl')}: ${otherArchive}
  • + {{/each}} +
+
+ {{/if}} +
+
+
+ {{/each}} +
+ {{/if}}
-- 2.39.5