From d4c737d355c92d7c8780222b2376944d0e955d82 Mon Sep 17 00:00:00 2001 From: Winona Salesky Date: Mon, 7 Sep 2015 09:38:34 -0400 Subject: [PATCH] Bug 14377: This development will show 'Suppressed in OPAC' if the 942$n is set to 1. Changed id="suppressed_opac" to class="suppressed_opac". MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Test Plan: 1) Apply this patch 2) Ensure you are using the default XSLT setting for the staff view. 3) Find or create a record with MARC tags 942$n=1 4) Check for “Suppressed in OPAC” at the top of the results div and at the top of the full record display. --- koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetDetail.xsl | 5 +++++ koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetResults.xsl | 5 +++++ 2 files changed, 10 insertions(+) diff --git a/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetDetail.xsl b/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetDetail.xsl index c24a2d0..85bc53e 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetDetail.xsl +++ b/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetDetail.xsl @@ -90,6 +90,11 @@ + + + Suppressed in OPAC + + diff --git a/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetResults.xsl b/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetResults.xsl index e913ce5..c0ec9d4 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetResults.xsl +++ b/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetResults.xsl @@ -281,6 +281,11 @@ --> + + + Suppressed in OPAC + + -- 2.3.2 (Apple Git-55)