From e89a0fd89a2eb8ac760b4c8a09dc6682786287e9 Mon Sep 17 00:00:00 2001 From: Terran McCanna Date: Mon, 25 Jun 2018 12:15:21 -0400 Subject: [PATCH] LP#1777954 Open Electronic Resource Links in New Tab Open electronic resources links in new browser tab to accommodate for external non-https links that will not otherwise open from the web client. Signed-off-by: Terran McCanna --- Open-ILS/src/templates/opac/parts/record/summary.tt2 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Open-ILS/src/templates/opac/parts/record/summary.tt2 b/Open-ILS/src/templates/opac/parts/record/summary.tt2 index 76f45ffebd..3c6e357650 100644 --- a/Open-ILS/src/templates/opac/parts/record/summary.tt2 +++ b/Open-ILS/src/templates/opac/parts/record/summary.tt2 @@ -109,7 +109,7 @@ FOREACH res IN openurls; %] - [% res.public_name | html %] + [% res.public_name | html %] [% res.target_coverage | html %] [%- IF res.target_embargo != ''; ' - '; @@ -136,7 +136,7 @@ IF num_uris > 0; [%- ELSE -%]
  • [%- END -%] - + [%- IF uri.href != uri.link; '' _ uri.link _ ''; ELSE; -- 2.11.0