From f8c8a6b4d6d8d8c3fd5ba262ea72bc7b0ac56349 Mon Sep 17 00:00:00 2001 From: Magnus Enger Date: Fri, 3 Feb 2012 09:57:32 +0100 Subject: [PATCH] Bug 7489 - Implement DisplayOPACiconsXSLT for NORMARC XSLT MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit This patch actually hides the whole line that contains the icon in the result list, 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 in results, "Type" and the icon in detail - Set DisplayOPACiconsXSLT = don't show - Check that icons and information is not displayed in result or detail Signed-off-by: Katrin Fischer Test plan worked nicely. Patch works as advertised. Signed-off-by: Paul Poulain (cherry picked from commit 0bc06f11a6e94b2c01593f29881c661cc6c03c59) Signed-off-by: Chris Nighswonger (cherry picked from commit 6b30e6d78d487896b66d8e1de8913e21010a0a44) Signed-off-by: Chris Nighswonger --- koha-tmpl/opac-tmpl/prog/en/xslt/NORMARCslim2OPACDetail.xsl | 5 ++++- koha-tmpl/opac-tmpl/prog/en/xslt/NORMARCslim2OPACResults.xsl | 4 ++++ 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/koha-tmpl/opac-tmpl/prog/en/xslt/NORMARCslim2OPACDetail.xsl b/koha-tmpl/opac-tmpl/prog/en/xslt/NORMARCslim2OPACDetail.xsl index d2b6b1b727..d2449db147 100644 --- a/koha-tmpl/opac-tmpl/prog/en/xslt/NORMARCslim2OPACDetail.xsl +++ b/koha-tmpl/opac-tmpl/prog/en/xslt/NORMARCslim2OPACDetail.xsl @@ -13,6 +13,8 @@ + + @@ -141,13 +143,14 @@ Kortvisning (ISBD) - + Materialtype: /opac-tmpl/prog/famfamfam/.png + diff --git a/koha-tmpl/opac-tmpl/prog/en/xslt/NORMARCslim2OPACResults.xsl b/koha-tmpl/opac-tmpl/prog/en/xslt/NORMARCslim2OPACResults.xsl index a5534ee92c..38e2ee7305 100644 --- a/koha-tmpl/opac-tmpl/prog/en/xslt/NORMARCslim2OPACResults.xsl +++ b/koha-tmpl/opac-tmpl/prog/en/xslt/NORMARCslim2OPACResults.xsl @@ -15,6 +15,8 @@ + + @@ -366,6 +368,7 @@ + Type: @@ -670,6 +673,7 @@ + -- 2.39.5