From abb4e03fbf9f86e039a9bc4f0e691e9de48e2491 Mon Sep 17 00:00:00 2001
From: Nick Clemens <nick@bywatersolutions.com>
Date: Mon, 31 Jul 2017 11:22:38 +0000
Subject: [PATCH] Bug 15352 Follow - Use default text if pref not set

---
 koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt | 2 +-
 koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-detail.tt     | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt
index 4ea7a9b..db88ce2 100644
--- a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt
+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt
@@ -792,7 +792,7 @@ function verify_images() {
                         [% IF ( Koha.Preference('URLLinkTextItems') && item.uri ) %]
                             <td class="uri"><a href="[% item.uri %]">[% Koha.Preference('URLLinkTextItems') %]</a></td>
                         [% ELSE %]
-                            <td class="uri"><a href="[% item.uri %]">[% item.uri %]</a></td>
+                            <td class="uri"><a href="[% item.uri %]"> Link to resource</a></td>
                         [% END %]
                     [% END %]
                     [% IF ( itemdata_copynumber ) %]
diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-detail.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-detail.tt
index c59ec19..93950b8 100644
--- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-detail.tt
+++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-detail.tt
@@ -1333,9 +1333,9 @@
                                         [% END %]
                                     [% ELSE %]
                                         [% IF Koha.Preference("OPACURLOpenInNewWindow") %]
-                                            <a target="_blank" rel="noreferrer" href="[% ITEM_RESULT.uri %]" property="url">[% ITEM_RESULT.uri %]</a>
+                                            <a target="_blank" rel="noreferrer" href="[% ITEM_RESULT.uri %]" property="url"> Link to resource</a>
                                         [% ELSE %]
-                                            <a href="[% ITEM_RESULT.uri %]" property="url">[% ITEM_RESULT.uri %]</a>
+                                            <a href="[% ITEM_RESULT.uri %]" property="url"> Link to resource</a>
                                         [% END %]
                                     [% END %]
                                 [% END %]
-- 
2.1.4