From 3c6914d0e422f707b5eb3dc5d5667dfe22476b01 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 Signed-off-by: Nick Clemens --- .../en/xslt/MARC21slim2OPACDetail.xsl | 21 +++++++++++++++++++ .../en/xslt/MARC21slim2OPACResults.xsl | 21 +++++++++++++++++++ 2 files changed, 42 insertions(+) diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slim2OPACDetail.xsl b/koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slim2OPACDetail.xsl index 34a6e0bbf7..d943359bd5 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slim2OPACDetail.xsl +++ b/koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slim2OPACDetail.xsl @@ -1299,6 +1299,27 @@ + + + + + Content warning: + + + + + + + + abcdefgijklnou + + + + | + + + + Holdings: diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slim2OPACResults.xsl b/koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slim2OPACResults.xsl index 9e7a16a2bb..7bc534a430 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slim2OPACResults.xsl +++ b/koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slim2OPACResults.xsl @@ -1159,6 +1159,27 @@ + + + + + Content warning: + + + + + + + + abcdefgijklnou + + + + | + + + +
Online access: -- 2.30.2