From d8046dfcf24b6a12eb4a321d99da381998084613 Mon Sep 17 00:00:00 2001 From: Magnus Enger Date: Fri, 3 Feb 2012 09:08:52 +0100 Subject: [PATCH] Bug 7489 - Implement DisplayOPACiconsXSLT for NORMARC XSLT MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="utf-8" This patch actually hides the whole line that contains the icon, including "literary form" and "audience", but this is how the syspref works for MARC21 too, so I'm sticking with that. To test: - Set marcflavour = NORMARC - Set OPACXSLTResultsDisplay = on - Set DisplayOPACiconsXSLT = show - Check that icons and information about "Type", "Litterær form" and "Målgruppe" are displayed - Set DisplayOPACiconsXSLT = don't show - Check that icons and information is not displayed --- .../prog/en/xslt/NORMARCslim2OPACResults.xsl | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/koha-tmpl/opac-tmpl/prog/en/xslt/NORMARCslim2OPACResults.xsl b/koha-tmpl/opac-tmpl/prog/en/xslt/NORMARCslim2OPACResults.xsl index 9d5323c..bcf6eab 100644 --- a/koha-tmpl/opac-tmpl/prog/en/xslt/NORMARCslim2OPACResults.xsl +++ b/koha-tmpl/opac-tmpl/prog/en/xslt/NORMARCslim2OPACResults.xsl @@ -17,6 +17,8 @@ + + @@ -369,6 +371,7 @@ + Type: @@ -673,6 +676,7 @@ + -- 1.7.2.5