From 149864e6f4586751bf982eeb3ee39929f6dd306a Mon Sep 17 00:00:00 2001 From: Pedro Amorim Date: Mon, 7 Oct 2024 12:03:03 +0000 Subject: [PATCH] Bug 38096: OPAC: Move 856 logic to renderMARCOnlineResourceField utils Now that OPAC detail and search results are consitent, we can DRY this logic to its own function to be also utilized by 857 in the following commit --- .../en/xslt/MARC21slim2OPACDetail.xsl | 51 +++-------------- .../en/xslt/MARC21slim2OPACResults.xsl | 56 ++++--------------- .../bootstrap/en/xslt/MARC21slimUtils.xsl | 54 ++++++++++++++++++ 3 files changed, 71 insertions(+), 90 deletions(-) diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slim2OPACDetail.xsl b/koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slim2OPACDetail.xsl index 01c503fdb18..1ba627cca55 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slim2OPACDetail.xsl +++ b/koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slim2OPACDetail.xsl @@ -1042,50 +1042,13 @@ Online resources: diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slim2OPACResults.xsl b/koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slim2OPACResults.xsl index 8f057967bc7..8b2630be751 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slim2OPACResults.xsl +++ b/koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slim2OPACResults.xsl @@ -1215,54 +1215,18 @@ - - -
+ + + diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slimUtils.xsl b/koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slimUtils.xsl index 9d35b9f94ae..452fa340183 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slimUtils.xsl +++ b/koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slimUtils.xsl @@ -655,6 +655,60 @@ + + + + + + + + + +
  • + + + + /cgi-bin/koha/tracklinks.pl?uri=&biblionumber= + + + /cgi-bin/koha/tracklinks.pl?uri=&biblionumber= + + + + + + + + + + + + + + _blank + + + + height:100px; + + + + y3z + + + + + + + Click here to access online + + + +
  • +
    +
    + -- 2.39.5