From ccf172c261562c2740a573ac4ca0726a8c55b973 Mon Sep 17 00:00:00 2001 From: Martin Renvoize Date: Thu, 8 Sep 2022 15:11:31 +0100 Subject: [PATCH] Bug 31123: Display content warnings in OPAC This patch adds handling of content warning display to the OPAC for both detail and search result views Test plan 1) Work through the test plan for the previous patch 2) Confirm that the same text now also displays on the equivilent OPAC pages. --- .../en/xslt/MARC21slim2OPACDetail.xsl | 21 ++++++++++++++++++ .../en/xslt/MARC21slim2OPACResults.xsl | 22 +++++++++++++++++++ 2 files changed, 43 insertions(+) diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slim2OPACDetail.xsl b/koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slim2OPACDetail.xsl index 31781fd07b..11da441aa1 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slim2OPACDetail.xsl +++ b/koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slim2OPACDetail.xsl @@ -1200,6 +1200,27 @@ + + + + + Content warning: + + + + + + + + abcdefgijklnou + + + + | + + + + diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slim2OPACResults.xsl b/koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slim2OPACResults.xsl index f20f7d6748..08cc6234f5 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slim2OPACResults.xsl +++ b/koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slim2OPACResults.xsl @@ -1152,6 +1152,28 @@ + + + + + + Content warning: + + + + + + + + abcdefgijklnou + + + + | + + + +
Online access: -- 2.20.1