Bugzilla – Attachment 96973 Details for
Bug 24322
National Library of Medicine (NLM) call number to XSLT Detail
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 24322: National Library of Medicine (NLM) call number to XSLT Detail
0001-Bug-24322-National-Library-of-Medicine-NLM-call-numb.patch (text/plain), 3.06 KB, created by
Olli-Antti Kivilahti
on 2020-01-08 04:54:43 UTC
(
hide
)
Description:
Bug 24322: National Library of Medicine (NLM) call number to XSLT Detail
Filename:
MIME Type:
Creator:
Olli-Antti Kivilahti
Created:
2020-01-08 04:54:43 UTC
Size:
3.06 KB
patch
obsolete
>From 30dff04d2a1b552a53b64a0600d1f39987b9e9e7 Mon Sep 17 00:00:00 2001 >From: Olli-Antti Kivilahti <olli-antti.kivilahti@hypernova.fi> >Date: Tue, 31 Dec 2019 15:50:39 +0200 >Subject: [PATCH] Bug 24322: National Library of Medicine (NLM) call number to > XSLT Detail > >--- > .../prog/en/xslt/MARC21slim2intranetDetail.xsl | 18 ++++++++++++++++++ > .../en/xslt/MARC21slim2OPACDetail.xsl | 17 +++++++++++++++++ > 2 files changed, 35 insertions(+) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetDetail.xsl b/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetDetail.xsl >index 9357b4cac0..50d08a1dc0 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetDetail.xsl >+++ b/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetDetail.xsl >@@ -935,6 +935,24 @@ > </span> > </xsl:if> > >+<!-- NLM classification --> >+ <xsl:if test="marc:datafield[@tag=060]"> >+ <span class="results_summary nlm"> >+ <span class="label">NLM classification: </span> >+ <xsl:for-each select="marc:datafield[@tag=060]"> >+ <xsl:call-template name="subfieldSelect"> >+ <xsl:with-param name="codes">a</xsl:with-param> >+ <xsl:with-param name="delimeter"><xsl:text> | </xsl:text></xsl:with-param> >+ </xsl:call-template> >+ <xsl:choose> >+ <xsl:when test="position()=last()"><xsl:text> </xsl:text></xsl:when> >+ <xsl:otherwise> | </xsl:otherwise> >+ </xsl:choose> >+ </xsl:for-each> >+ </span> >+ </xsl:if> >+ >+ > <xsl:if test="marc:datafield[@tag=856]"> > <span class="results_summary online_resources"><span class="label">Online resources: </span> > <xsl:for-each select="marc:datafield[@tag=856]"> >diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slim2OPACDetail.xsl b/koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slim2OPACDetail.xsl >index 9c5a36f892..699614e693 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slim2OPACDetail.xsl >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slim2OPACDetail.xsl >@@ -946,6 +946,23 @@ > </span> > </xsl:if> > >+<!-- NLM classification --> >+ <xsl:if test="marc:datafield[@tag=060]"> >+ <span class="results_summary nlm"> >+ <span class="label">NLM classification: </span> >+ <xsl:for-each select="marc:datafield[@tag=060]"> >+ <xsl:call-template name="subfieldSelect"> >+ <xsl:with-param name="codes">a</xsl:with-param> >+ <xsl:with-param name="delimeter"><xsl:text> | </xsl:text></xsl:with-param> >+ </xsl:call-template> >+ <xsl:choose> >+ <xsl:when test="position()=last()"><xsl:text> </xsl:text></xsl:when> >+ <xsl:otherwise> | </xsl:otherwise> >+ </xsl:choose> >+ </xsl:for-each> >+ </span> >+ </xsl:if> >+ > > <!-- Image processing code added here, takes precedence over text links including y3z text --> > <xsl:if test="marc:datafield[@tag=856]"> >-- >2.20.1 >
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 24322
:
96701
|
96973
|
110025
|
110096
|
110982