[open-ils-commits] [GIT] Evergreen ILS branch rel_3_0 updated. 6b014fa4b8d37b44c555b59fc0aabede2625f2b6
Evergreen Git
git at git.evergreen-ils.org
Tue Jul 24 23:33:44 EDT 2018
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Evergreen ILS".
The branch, rel_3_0 has been updated
via 6b014fa4b8d37b44c555b59fc0aabede2625f2b6 (commit)
via 744163d6f7c1348350c206f79522c7f0746a6695 (commit)
from 9a9db135db10c88e65a4410927b0ac9332137eeb (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 6b014fa4b8d37b44c555b59fc0aabede2625f2b6
Author: Dan Wells <dbw2 at calvin.edu>
Date: Fri Jul 13 14:04:00 2018 -0400
LP#1777954 Open Electronic Resource Links in New Tab, Part 2
For the same reasons given in the previous commit, let's also open
resource links in a new tab/window when clicking from the results
list.
Signed-off-by: Dan Wells <dbw2 at calvin.edu>
Signed-off-by: Kathy Lussier <klussier at masslnc.org>
diff --git a/Open-ILS/src/templates/opac/parts/result/table.tt2 b/Open-ILS/src/templates/opac/parts/result/table.tt2
index 4d4211a..33ea207 100644
--- a/Open-ILS/src/templates/opac/parts/result/table.tt2
+++ b/Open-ILS/src/templates/opac/parts/result/table.tt2
@@ -322,7 +322,7 @@ END;
<td valign='top'>
<strong>[% l('Electronic resource') %]</strong>
</td>
- <td><a href="[% uri.href %]" class="uri_link">[% uri.link | html %]</a>[% ' - ' _ uri.note | html IF uri.note %]</td>
+ <td><a href="[% uri.href %]" class="uri_link" target="_blank">[% uri.link | html %]</a>[% ' - ' _ uri.note | html IF uri.note %]</td>
</tr>
[% END %]
[% END %]
commit 744163d6f7c1348350c206f79522c7f0746a6695
Author: Terran McCanna <tmccanna at georgialibraries.org>
Date: Mon Jun 25 12:15:21 2018 -0400
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 <tmccanna at georgialibraries.org>
Signed-off-by: Dan Wells <dbw2 at calvin.edu>
Signed-off-by: Kathy Lussier <klussier at masslnc.org>
diff --git a/Open-ILS/src/templates/opac/parts/record/summary.tt2 b/Open-ILS/src/templates/opac/parts/record/summary.tt2
index d26810d..5e7e37d 100644
--- a/Open-ILS/src/templates/opac/parts/record/summary.tt2
+++ b/Open-ILS/src/templates/opac/parts/record/summary.tt2
@@ -164,7 +164,7 @@
FOREACH res IN openurls;
%]
<tr>
- <td class='rdetail_openurl_entry'><a href="[% res.target_url %]">[% res.public_name | html %]</a></td>
+ <td class='rdetail_openurl_entry'><a href="[% res.target_url %]" target="_blank">[% res.public_name | html %]</a></td>
<td>[% res.target_coverage | html %]
[%- IF res.target_embargo != '';
' - ';
@@ -191,7 +191,7 @@ IF num_uris > 0;
[%- ELSE -%]
<li class="rdetail_uri" property="offers" vocab="http://schema.org/" typeof="Offer">
[%- END -%]
- <a href="[% uri.href %]" class="uri_link" property="url">
+ <a href="[% uri.href %]" class="uri_link" property="url" target="_blank">
[%- IF uri.href != uri.link;
'<span property="description">' _ uri.link _ '</span>';
ELSE;
-----------------------------------------------------------------------
Summary of changes:
.../src/templates/opac/parts/record/summary.tt2 | 4 ++--
Open-ILS/src/templates/opac/parts/result/table.tt2 | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)
hooks/post-receive
--
Evergreen ILS
More information about the open-ils-commits
mailing list