Bugzilla – Attachment 103420 Details for
Bug 25233
Staff XSLT material type label "Book" should be "Text"
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 25233: Make OPAC XSLT stylesheets consistent with the ones for the staff client
Bug-25233-Make-OPAC-XSLT-stylesheets-consistent-wi.patch (text/plain), 3.13 KB, created by
Lucas Gass (lukeg)
on 2020-04-21 21:10:04 UTC
(
hide
)
Description:
Bug 25233: Make OPAC XSLT stylesheets consistent with the ones for the staff client
Filename:
MIME Type:
Creator:
Lucas Gass (lukeg)
Created:
2020-04-21 21:10:04 UTC
Size:
3.13 KB
patch
obsolete
>From 8940ab4485ea8fd532f1cd3d56e99e7f75eaec45 Mon Sep 17 00:00:00 2001 >From: Lucas Gass <lucas@bywatersolutions.com> >Date: Tue, 21 Apr 2020 21:08:47 +0000 >Subject: [PATCH] Bug 25233: Make OPAC XSLT stylesheets consistent with the > ones for the staff client > >This patch makes the OPAC XSLT stylesheets consistent with the ones for the staff client >TO TEST: >1. Have a record with leader06 = 'a' and leader07 = 'c' 'd' or 'm'. >2. Check the OPAC results and details page. See that the materila type label says "Text" >3. Check the staff client results and details page. See that the materila type label says "Book" >4. Apply patch. >5. See that both staff client and OPAC results/details all now say "Book" >--- > koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slim2OPACDetail.xsl | 2 +- > koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slim2OPACResults.xsl | 2 +- > 2 files changed, 2 insertions(+), 2 deletions(-) > >diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slim2OPACDetail.xsl b/koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slim2OPACDetail.xsl >index 5d79840678..1b2a3974fc 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slim2OPACDetail.xsl >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slim2OPACDetail.xsl >@@ -75,7 +75,7 @@ > <xsl:when test="$leader19='a'">Set</xsl:when> > <xsl:when test="$leader6='a'"> > <xsl:choose> >- <xsl:when test="$leader7='c' or $leader7='d' or $leader7='m'">Text</xsl:when> >+ <xsl:when test="$leader7='c' or $leader7='d' or $leader7='m'">Book</xsl:when> > <xsl:when test="$leader7='i' or $leader7='s'"> > <xsl:choose> > <xsl:when test="substring($controlField008,22,1)!='m'">Continuing resource</xsl:when> >diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slim2OPACResults.xsl b/koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slim2OPACResults.xsl >index d29fdceaee..4957202e0d 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slim2OPACResults.xsl >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slim2OPACResults.xsl >@@ -666,7 +666,7 @@ > <xsl:when test="$leader19='a'"><img src="/opac-tmpl/lib/famfamfam/ST.png" alt="Set" class="materialtype mt_icon_ST"/> Set</xsl:when> > <xsl:when test="$leader6='a'"> > <xsl:choose> >- <xsl:when test="$leader7='c' or $leader7='d' or $leader7='m'"><img src="/opac-tmpl/lib/famfamfam/BK.png" alt="Text" class="materialtype mt_icon_BK"/> Text</xsl:when> >+ <xsl:when test="$leader7='c' or $leader7='d' or $leader7='m'"><img src="/opac-tmpl/lib/famfamfam/BK.png" alt="Text" class="materialtype mt_icon_BK"/> Book</xsl:when> > <xsl:when test="$leader7='i' or $leader7='s'"><img src="/opac-tmpl/lib/famfamfam/SE.png" alt="Continuing resource" class="materialtype mt_icon_SE"/> Continuing resource</xsl:when> > <xsl:when test="$leader7='a' or $leader7='b'"><img src="/opac-tmpl/lib/famfamfam/AR.png" alt="Article" class="materialtype mt_icon_AR"/> Article</xsl:when> > </xsl:choose> >-- >2.11.0
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 25233
:
103420
|
103424
|
103469
|
103716