[open-ils-commits] [GIT] Evergreen ILS branch rel_3_1 updated. 79541f4abddd0eae44081b2fdcc2c3a8475be2f2

Evergreen Git git at git.evergreen-ils.org
Tue Jul 24 23:33:01 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_1 has been updated
       via  79541f4abddd0eae44081b2fdcc2c3a8475be2f2 (commit)
       via  b75e13c75a1d629cb7c843b79a6432fd6f7c53c4 (commit)
      from  df8a9fecbff6eeadb1c325b4e7112805a2e5ec82 (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 79541f4abddd0eae44081b2fdcc2c3a8475be2f2
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 d28e8ec..20da7de 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 b75e13c75a1d629cb7c843b79a6432fd6f7c53c4
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 7797c5e..223b0f3 100644
--- a/Open-ILS/src/templates/opac/parts/record/summary.tt2
+++ b/Open-ILS/src/templates/opac/parts/record/summary.tt2
@@ -176,7 +176,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 != '';
                     ' - ';
@@ -203,7 +203,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