From a6691ecf6af3d5b9016bf416376157b5b961bb95 Mon Sep 17 00:00:00 2001 From: Owen Leonard Date: Wed, 21 Nov 2018 13:54:45 +0000 Subject: [PATCH] Bug 21871: Show authority 856 links in the OPAC This patch modifies the authority detail view in the OPAC so that any links found in 856 tags are displayed and active. To test, apply the patch and locate or create an authority record which contains one or more URLs in 856 tags. - View this record in the OPAC and confirm that the links appear. - Test records with and without link text. - Test records with and without public notes. --- .../bootstrap/en/modules/opac-auth-detail.tt | 34 ++++++++++++++++++++++ opac/opac-authoritiesdetail.pl | 9 ++++-- 2 files changed, 41 insertions(+), 2 deletions(-) diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-auth-detail.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-auth-detail.tt index 7d19e6b..db3d30f 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-auth-detail.tt +++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-auth-detail.tt @@ -109,6 +109,40 @@ [% END %] + [% IF ( MARCURLS ) %] +
+ Online resources: + +
+ [% END # / IF MARCURLS %] +