From 4cf72ef9daa9340ffa4cf2b8138c9e9a963f6c21 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. Signed-off-by: David Nind --- .../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..b1e3f40efe 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.30.2