From f410d04d4991dd809c1d871d3a31b693006e36b7 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 Signed-off-by: Caroline Cyr La Rose --- .../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 01c503fdb1..1ba627cca5 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 8f057967bc..8b2630be75 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 9d35b9f94a..136c5e8d2e 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.34.1