From abb4e03fbf9f86e039a9bc4f0e691e9de48e2491 Mon Sep 17 00:00:00 2001 From: Nick Clemens 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 ) %] [% Koha.Preference('URLLinkTextItems') %] [% ELSE %] - [% item.uri %] + Link to resource [% 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") %] - [% ITEM_RESULT.uri %] + Link to resource [% ELSE %] - [% ITEM_RESULT.uri %] + Link to resource [% END %] [% END %] [% END %] -- 2.1.4