View | Details | Raw Unified | Return to bug 9356
Collapse All | Expand All

(-)a/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetDetail.xsl (-10 / +10 lines)
Lines 69-75 Link Here
69
                        <xsl:when test="$leader7='c' or $leader7='d' or $leader7='m'">Book</xsl:when>
69
                        <xsl:when test="$leader7='c' or $leader7='d' or $leader7='m'">Book</xsl:when>
70
                        <xsl:when test="$leader7='i' or $leader7='s'">
70
                        <xsl:when test="$leader7='i' or $leader7='s'">
71
                            <xsl:choose>
71
                            <xsl:choose>
72
                                <xsl:when test="substring($controlField008,22,1)!='m'">Continuing Resource</xsl:when>
72
                                <xsl:when test="substring($controlField008,22,1)!='m'">Continuing resource</xsl:when>
73
                                <xsl:otherwise>Series</xsl:otherwise>
73
                                <xsl:otherwise>Series</xsl:otherwise>
74
                            </xsl:choose>
74
                            </xsl:choose>
75
                        </xsl:when>
75
                        </xsl:when>
Lines 78-87 Link Here
78
                </xsl:when>
78
                </xsl:when>
79
                <xsl:when test="$leader6='t'">Book</xsl:when>
79
                <xsl:when test="$leader6='t'">Book</xsl:when>
80
                <xsl:when test="$leader6='o'">Kit</xsl:when>				
80
                <xsl:when test="$leader6='o'">Kit</xsl:when>				
81
                <xsl:when test="$leader6='p'">Mixed Materials</xsl:when>
81
                <xsl:when test="$leader6='p'">Mixed materials</xsl:when>
82
                <xsl:when test="$leader6='m'">Computer File</xsl:when>
82
                <xsl:when test="$leader6='m'">Computer file</xsl:when>
83
                <xsl:when test="$leader6='e' or $leader6='f'">Map</xsl:when>
83
                <xsl:when test="$leader6='e' or $leader6='f'">Map</xsl:when>
84
                <xsl:when test="$leader6='g' or $leader6='k' or $leader6='r'">Visual Material</xsl:when>
84
                <xsl:when test="$leader6='g' or $leader6='k' or $leader6='r'">Visual material</xsl:when>
85
                <xsl:when test="$leader6='j'">Music</xsl:when>
85
                <xsl:when test="$leader6='j'">Music</xsl:when>
86
                <xsl:when test="$leader6='i'">Sound</xsl:when>
86
                <xsl:when test="$leader6='i'">Sound</xsl:when>
87
                <xsl:when test="$leader6='c' or $leader6='d'">Score</xsl:when>
87
                <xsl:when test="$leader6='c' or $leader6='d'">Score</xsl:when>
Lines 401-412 Link Here
401
                <xsl:with-param name="basetags">246</xsl:with-param>
401
                <xsl:with-param name="basetags">246</xsl:with-param>
402
                <xsl:with-param name="codes">abhfgnp</xsl:with-param>
402
                <xsl:with-param name="codes">abhfgnp</xsl:with-param>
403
                <xsl:with-param name="class">results_summary other_title</xsl:with-param>
403
                <xsl:with-param name="class">results_summary other_title</xsl:with-param>
404
                <xsl:with-param name="label">Other Title: </xsl:with-param>
404
                <xsl:with-param name="label">Other title: </xsl:with-param>
405
            </xsl:call-template>
405
            </xsl:call-template>
406
        </xsl:if>
406
        </xsl:if>
407
407
408
        <xsl:if test="marc:datafield[@tag=246]">
408
        <xsl:if test="marc:datafield[@tag=246]">
409
        <span class="results_summary other_title"><span class="label">Other Title: </span>
409
        <span class="results_summary other_title"><span class="label">Other title: </span>
410
            <xsl:for-each select="marc:datafield[@tag=246]">
410
            <xsl:for-each select="marc:datafield[@tag=246]">
411
                <xsl:call-template name="chopPunctuation">
411
                <xsl:call-template name="chopPunctuation">
412
                  <xsl:with-param name="chopString">
412
                  <xsl:with-param name="chopString">
Lines 441-447 Link Here
441
                <xsl:with-param name="basetags">130,240</xsl:with-param>
441
                <xsl:with-param name="basetags">130,240</xsl:with-param>
442
                <xsl:with-param name="codes">adfklmor</xsl:with-param>
442
                <xsl:with-param name="codes">adfklmor</xsl:with-param>
443
                <xsl:with-param name="class">results_summary uniform_title</xsl:with-param>
443
                <xsl:with-param name="class">results_summary uniform_title</xsl:with-param>
444
                <xsl:with-param name="label">Uniform Title: </xsl:with-param>
444
                <xsl:with-param name="label">Uniform title: </xsl:with-param>
445
            </xsl:call-template>
445
            </xsl:call-template>
446
        </xsl:if>
446
        </xsl:if>
447
447
Lines 508-514 Link Here
508
        </xsl:if>
508
        </xsl:if>
509
509
510
        <xsl:if test="marc:datafield[@tag=856]">
510
        <xsl:if test="marc:datafield[@tag=856]">
511
        <span class="results_summary online_resources"><span class="label">Online Resources: </span>
511
        <span class="results_summary online_resources"><span class="label">Online resources: </span>
512
        <xsl:for-each select="marc:datafield[@tag=856]">
512
        <xsl:for-each select="marc:datafield[@tag=856]">
513
                                   <xsl:variable name="SubqText"><xsl:value-of select="marc:subfield[@code='q']"/></xsl:variable>
513
                                   <xsl:variable name="SubqText"><xsl:value-of select="marc:subfield[@code='q']"/></xsl:variable>
514
                                   <a><xsl:attribute name="href"><xsl:value-of select="marc:subfield[@code='u']"/></xsl:attribute>
514
                                   <a><xsl:attribute name="href"><xsl:value-of select="marc:subfield[@code='u']"/></xsl:attribute>
Lines 637-643 Link Here
637
637
638
        <!-- 866 textual holdings -->
638
        <!-- 866 textual holdings -->
639
        <xsl:if test="marc:datafield[@tag=866]">
639
        <xsl:if test="marc:datafield[@tag=866]">
640
            <span class="results_summary holdings_note"><span class="label">Holdings Note: </span>
640
            <span class="results_summary holdings_note"><span class="label">Holdings note: </span>
641
                <xsl:for-each select="marc:datafield[@tag=866]">
641
                <xsl:for-each select="marc:datafield[@tag=866]">
642
                    <xsl:call-template name="subfieldSelect">
642
                    <xsl:call-template name="subfieldSelect">
643
                        <xsl:with-param name="codes">axz</xsl:with-param>
643
                        <xsl:with-param name="codes">axz</xsl:with-param>
Lines 649-655 Link Here
649
649
650
        <!--  775 Other Edition  -->
650
        <!--  775 Other Edition  -->
651
        <xsl:if test="marc:datafield[@tag=775]">
651
        <xsl:if test="marc:datafield[@tag=775]">
652
        <span class="results_summary other_editions"><span class="label">Other Editions: </span>
652
        <span class="results_summary other_editions"><span class="label">Other editions: </span>
653
        <xsl:for-each select="marc:datafield[@tag=775]">
653
        <xsl:for-each select="marc:datafield[@tag=775]">
654
            <xsl:variable name="f775">
654
            <xsl:variable name="f775">
655
                <xsl:call-template name="chopPunctuation"><xsl:with-param name="chopString"><xsl:call-template name="subfieldSelect">
655
                <xsl:call-template name="chopPunctuation"><xsl:with-param name="chopString"><xsl:call-template name="subfieldSelect">
(-)a/koha-tmpl/opac-tmpl/prog/en/xslt/MARC21slim2OPACDetail.xsl (-9 / +8 lines)
Lines 79-88 Link Here
79
                </xsl:when>
79
                </xsl:when>
80
                <xsl:when test="$leader6='t'">Book</xsl:when>
80
                <xsl:when test="$leader6='t'">Book</xsl:when>
81
				<xsl:when test="$leader6='o'">Kit</xsl:when>
81
				<xsl:when test="$leader6='o'">Kit</xsl:when>
82
                <xsl:when test="$leader6='p'">Mixed Materials</xsl:when>
82
                <xsl:when test="$leader6='p'">Mixed materials</xsl:when>
83
                <xsl:when test="$leader6='m'">Computer File</xsl:when>
83
                <xsl:when test="$leader6='m'">Computer file</xsl:when>
84
                <xsl:when test="$leader6='e' or $leader6='f'">Map</xsl:when>
84
                <xsl:when test="$leader6='e' or $leader6='f'">Map</xsl:when>
85
                <xsl:when test="$leader6='g' or $leader6='k' or $leader6='r'">Visual Material</xsl:when>
85
                <xsl:when test="$leader6='g' or $leader6='k' or $leader6='r'">Visual material</xsl:when>
86
                <xsl:when test="$leader6='j'">Music</xsl:when>
86
                <xsl:when test="$leader6='j'">Music</xsl:when>
87
                <xsl:when test="$leader6='i'">Sound</xsl:when>
87
                <xsl:when test="$leader6='i'">Sound</xsl:when>
88
                <xsl:when test="$leader6='c' or $leader6='d'">Score</xsl:when>
88
                <xsl:when test="$leader6='c' or $leader6='d'">Score</xsl:when>
Lines 407-418 Link Here
407
                <xsl:with-param name="basetags">246</xsl:with-param>
407
                <xsl:with-param name="basetags">246</xsl:with-param>
408
                <xsl:with-param name="codes">abhfgnp</xsl:with-param>
408
                <xsl:with-param name="codes">abhfgnp</xsl:with-param>
409
                <xsl:with-param name="class">results_summary other_title</xsl:with-param>
409
                <xsl:with-param name="class">results_summary other_title</xsl:with-param>
410
                <xsl:with-param name="label">Other Title: </xsl:with-param>
410
                <xsl:with-param name="label">Other title: </xsl:with-param>
411
            </xsl:call-template>
411
            </xsl:call-template>
412
        </xsl:if>
412
        </xsl:if>
413
413
414
        <xsl:if test="marc:datafield[@tag=246]">
414
        <xsl:if test="marc:datafield[@tag=246]">
415
        <span class="results_summary other_title"><span class="label">Other Title: </span>
415
        <span class="results_summary other_title"><span class="label">Other title: </span>
416
            <xsl:for-each select="marc:datafield[@tag=246]">
416
            <xsl:for-each select="marc:datafield[@tag=246]">
417
                <xsl:call-template name="chopPunctuation">
417
                <xsl:call-template name="chopPunctuation">
418
                  <xsl:with-param name="chopString">
418
                  <xsl:with-param name="chopString">
Lines 522-528 Link Here
522
522
523
<!-- Image processing code added here, takes precedence over text links including y3z text   -->
523
<!-- Image processing code added here, takes precedence over text links including y3z text   -->
524
        <xsl:if test="marc:datafield[@tag=856]">
524
        <xsl:if test="marc:datafield[@tag=856]">
525
        <span class="results_summary online_resources"><span class="label">Online Resources: </span>
525
        <span class="results_summary online_resources"><span class="label">Online resources: </span>
526
        <xsl:for-each select="marc:datafield[@tag=856]">
526
        <xsl:for-each select="marc:datafield[@tag=856]">
527
            <xsl:variable name="SubqText"><xsl:value-of select="marc:subfield[@code='q']"/></xsl:variable>
527
            <xsl:variable name="SubqText"><xsl:value-of select="marc:subfield[@code='q']"/></xsl:variable>
528
            <a><xsl:attribute name="href"><xsl:value-of select="marc:subfield[@code='u']"/></xsl:attribute>
528
            <a><xsl:attribute name="href"><xsl:value-of select="marc:subfield[@code='u']"/></xsl:attribute>
Lines 732-738 Link Here
732
732
733
        <!-- 866 textual holdings -->
733
        <!-- 866 textual holdings -->
734
        <xsl:if test="marc:datafield[@tag=866]">
734
        <xsl:if test="marc:datafield[@tag=866]">
735
            <span class="results_summary holdings_note"><span class="label">Holdings Note: </span>
735
            <span class="results_summary holdings_note"><span class="label">Holdings note: </span>
736
                <xsl:for-each select="marc:datafield[@tag=866]">
736
                <xsl:for-each select="marc:datafield[@tag=866]">
737
                    <xsl:call-template name="subfieldSelect">
737
                    <xsl:call-template name="subfieldSelect">
738
                        <xsl:with-param name="codes">az</xsl:with-param>
738
                        <xsl:with-param name="codes">az</xsl:with-param>
Lines 744-750 Link Here
744
744
745
        <!--  775 Other Edition  -->
745
        <!--  775 Other Edition  -->
746
        <xsl:if test="marc:datafield[@tag=775]">
746
        <xsl:if test="marc:datafield[@tag=775]">
747
        <span class="results_summary other_editions"><span class="label">Other Editions: </span>
747
        <span class="results_summary other_editions"><span class="label">Other editions: </span>
748
        <xsl:for-each select="marc:datafield[@tag=775]">
748
        <xsl:for-each select="marc:datafield[@tag=775]">
749
            <xsl:variable name="f775">
749
            <xsl:variable name="f775">
750
                <xsl:call-template name="chopPunctuation"><xsl:with-param name="chopString"><xsl:call-template name="subfieldSelect">
750
                <xsl:call-template name="chopPunctuation"><xsl:with-param name="chopString"><xsl:call-template name="subfieldSelect">
751
- 

Return to bug 9356