From: Olivier Lamy Date: Mon, 27 Feb 2012 00:56:00 +0000 (+0000) Subject: add link if available in artifact info block X-Git-Tag: archiva-1.4-M3~1209 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=9423b6e869790bda904eaef903c6caa12d75e3f5;p=archiva.git add link if available in artifact info block git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1293980 13f79535-47bb-0310-9956-ffa450edef68 --- 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 574ebea20..f9d698a21 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 @@ -409,7 +409,7 @@ $(function() { //----------------------------------------- displaySearch=function(){ - $("#main-content" ).html("coming soon :-)"); + $("#main-content" ).html($("#search-artifacts-form" ).tmpl()); } }); \ No newline at end of file diff --git a/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/archiva/templates/search.html b/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/archiva/templates/search.html index 4efd7d34d..8a13996be 100644 --- a/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/archiva/templates/search.html +++ b/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/archiva/templates/search.html @@ -115,7 +115,11 @@ {{if projectVersionMetadata.organization}} ${$.i18n.prop('browse.artifact.organization.name')} - ${projectVersionMetadata.organization.name} + {{if projectVersionMetadata.organization.url}} + ${projectVersionMetadata.organization.name} + {{else}} + ${projectVersionMetadata.organization.name} + {{/if}} {{/if}} {{if projectVersionMetadata.issueManagement}} @@ -140,4 +144,11 @@ + + + \ No newline at end of file