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

(-)a/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slimUtils.xsl (-4 / +13 lines)
Lines 427-433 Link Here
427
            </xsl:if>
427
            </xsl:if>
428
            <xsl:choose>
428
            <xsl:choose>
429
                <xsl:when test="position()=last()">
429
                <xsl:when test="position()=last()">
430
                    <xsl:if test="../marc:datafield[@tag=490][@ind1!=1]">
430
                    <xsl:if test="../marc:datafield[@tag=490][@ind1!=1] or ../marc:datafield[(@tag=800 or @tag=810 or @tag=811) and @ind1!='z'] or ../marc:datafield[@tag=830 and @ind1!='z']">
431
                        <span class="separator"> | </span>
431
                        <span class="separator"> | </span>
432
                    </xsl:if>
432
                    </xsl:if>
433
                </xsl:when>
433
                </xsl:when>
Lines 452-458 Link Here
452
            </xsl:if>
452
            </xsl:if>
453
            <xsl:choose>
453
            <xsl:choose>
454
                <xsl:when test="position()=last()">
454
                <xsl:when test="position()=last()">
455
                    <xsl:if test="../marc:datafield[@tag=490][@ind1=1]">
455
                    <xsl:if test="../marc:datafield[(@tag=800 or @tag=810 or @tag=811) and @ind1!='z'] or ../marc:datafield[@tag=830 and @ind1!='z']">
456
                        <span class="separator"> | </span>
456
                        <span class="separator"> | </span>
457
                    </xsl:if>
457
                    </xsl:if>
458
                </xsl:when>
458
                </xsl:when>
Lines 460-465 Link Here
460
            </xsl:choose>
460
            </xsl:choose>
461
        </xsl:for-each>
461
        </xsl:for-each>
462
        <!-- 800,810,811,830 always display. -->
462
        <!-- 800,810,811,830 always display. -->
463
463
        <xsl:for-each select="marc:datafield[(@tag=800 or @tag=810 or @tag=811) and @ind1!='z']">
464
        <xsl:for-each select="marc:datafield[(@tag=800 or @tag=810 or @tag=811) and @ind1!='z']">
464
            <xsl:choose>
465
            <xsl:choose>
465
                <xsl:when test="$UseControlNumber = '1' and marc:subfield[@code='w']">
466
                <xsl:when test="$UseControlNumber = '1' and marc:subfield[@code='w']">
Lines 499-505 Link Here
499
            <xsl:call-template name="part"/>
500
            <xsl:call-template name="part"/>
500
            <xsl:text> ; </xsl:text>
501
            <xsl:text> ; </xsl:text>
501
            <xsl:value-of  select="marc:subfield[@code='v']" />
502
            <xsl:value-of  select="marc:subfield[@code='v']" />
502
        <xsl:choose><xsl:when test="position()=last()"><xsl:text></xsl:text></xsl:when><xsl:otherwise><span class="separator"> | </span></xsl:otherwise></xsl:choose>
503
        <xsl:choose>
504
            <xsl:when test="position()=last()">
505
                <xsl:if test="../marc:datafield[@tag=830 and @ind1!='z']">
506
                    <span class="separator"> | </span>
507
                </xsl:if>
508
            </xsl:when>
509
            <xsl:otherwise>
510
                <span class="separator"> | </span>
511
            </xsl:otherwise>
512
        </xsl:choose>
503
        </xsl:for-each>
513
        </xsl:for-each>
504
514
505
        <xsl:for-each select="marc:datafield[@tag=830 and @ind1!='z']">
515
        <xsl:for-each select="marc:datafield[@tag=830 and @ind1!='z']">
506
- 

Return to bug 13600