From 4b6124395e7269d0ef9a5bc2906509b72077b863 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 Signed-off-by: Tomas Cohen Arazi --- .../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 40215185a5..928b66d8ba 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slim2OPACDetail.xsl +++ b/koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slim2OPACDetail.xsl @@ -1291,6 +1291,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 36026bdc0d..d88e74fb51 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.39.5