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

(-)a/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetDetail.xsl (-9 / +9 lines)
Lines 207-213 Link Here
207
                        </xsl:call-template>
207
                        </xsl:call-template>
208
            </a>
208
            </a>
209
            <xsl:call-template name="part"/>
209
            <xsl:call-template name="part"/>
210
            <xsl:choose><xsl:when test="position()=last()"><xsl:text>. </xsl:text></xsl:when><xsl:otherwise><xsl:text> ; </xsl:text></xsl:otherwise></xsl:choose>
210
            <xsl:choose><xsl:when test="position()=last()"><xsl:text></xsl:text></xsl:when><xsl:otherwise><xsl:text> ; </xsl:text></xsl:otherwise></xsl:choose>
211
        </xsl:for-each>
211
        </xsl:for-each>
212
212
213
        <!-- 490 Series not traced, Ind1 = 0 -->
213
        <!-- 490 Series not traced, Ind1 = 0 -->
Lines 222-228 Link Here
222
                        </xsl:call-template>
222
                        </xsl:call-template>
223
            </a>
223
            </a>
224
                    <xsl:call-template name="part"/>
224
                    <xsl:call-template name="part"/>
225
        <xsl:choose><xsl:when test="position()=last()"><xsl:text>.</xsl:text></xsl:when><xsl:otherwise><xsl:text>; </xsl:text></xsl:otherwise></xsl:choose>
225
        <xsl:choose><xsl:when test="position()=last()"><xsl:text></xsl:text></xsl:when><xsl:otherwise><xsl:text>; </xsl:text></xsl:otherwise></xsl:choose>
226
        </xsl:for-each>
226
        </xsl:for-each>
227
        <!-- 490 Series traced, Ind1 = 1 -->
227
        <!-- 490 Series traced, Ind1 = 1 -->
228
        <xsl:if test="marc:datafield[@tag=490][@ind1=1]">
228
        <xsl:if test="marc:datafield[@tag=490][@ind1=1]">
Lines 439-445 Link Here
439
                    </xsl:call-template>
439
                    </xsl:call-template>
440
                   </xsl:with-param>
440
                   </xsl:with-param>
441
               </xsl:call-template>
441
               </xsl:call-template>
442
                    <xsl:choose><xsl:when test="position()=last()"><xsl:text>.</xsl:text></xsl:when><xsl:otherwise><xsl:text>; </xsl:text></xsl:otherwise></xsl:choose>
442
                    <xsl:choose><xsl:when test="position()=last()"><xsl:text></xsl:text></xsl:when><xsl:otherwise><xsl:text>; </xsl:text></xsl:otherwise></xsl:choose>
443
            </xsl:for-each>
443
            </xsl:for-each>
444
        </span>
444
        </span>
445
        </xsl:if>
445
        </xsl:if>
Lines 464-470 Link Here
464
                    </xsl:call-template>
464
                    </xsl:call-template>
465
                   </xsl:with-param>
465
                   </xsl:with-param>
466
               </xsl:call-template>
466
               </xsl:call-template>
467
                    <xsl:choose><xsl:when test="position()=last()"><xsl:text>.</xsl:text></xsl:when><xsl:otherwise><xsl:text>; </xsl:text></xsl:otherwise></xsl:choose>
467
                    <xsl:choose><xsl:when test="position()=last()"><xsl:text></xsl:text></xsl:when><xsl:otherwise><xsl:text>; </xsl:text></xsl:otherwise></xsl:choose>
468
            </xsl:for-each>
468
            </xsl:for-each>
469
        </span>
469
        </span>
470
       </xsl:if>
470
       </xsl:if>
Lines 574-580 Link Here
574
                        <xsl:value-of select="concat(' [',marc:subfield[@code='i'],']')"/>
574
                        <xsl:value-of select="concat(' [',marc:subfield[@code='i'],']')"/>
575
                    </xsl:if>
575
                    </xsl:if>
576
                    <!-- #13386 added separator | -->
576
                    <!-- #13386 added separator | -->
577
                    <xsl:choose><xsl:when test="position()=last()"><xsl:text>.</xsl:text></xsl:when><xsl:otherwise><span class="separator"><xsl:text> | </xsl:text></span></xsl:otherwise></xsl:choose>
577
                    <xsl:choose><xsl:when test="position()=last()"><xsl:text></xsl:text></xsl:when><xsl:otherwise><span class="separator"><xsl:text> | </xsl:text></span></xsl:otherwise></xsl:choose>
578
                </xsl:for-each>
578
                </xsl:for-each>
579
            </span>
579
            </span>
580
        </xsl:if>
580
        </xsl:if>
Lines 589-595 Link Here
589
                    </xsl:call-template>
589
                    </xsl:call-template>
590
                   </xsl:with-param>
590
                   </xsl:with-param>
591
               </xsl:call-template>
591
               </xsl:call-template>
592
                    <xsl:choose><xsl:when test="position()=last()"><xsl:text>.</xsl:text></xsl:when><xsl:otherwise><xsl:text>; </xsl:text></xsl:otherwise></xsl:choose>
592
                    <xsl:choose><xsl:when test="position()=last()"><xsl:text></xsl:text></xsl:when><xsl:otherwise><xsl:text>; </xsl:text></xsl:otherwise></xsl:choose>
593
            </xsl:for-each>
593
            </xsl:for-each>
594
        </span>
594
        </span>
595
       </xsl:if>
595
       </xsl:if>
Lines 656-662 Link Here
656
                        </span>
656
                        </span>
657
                    </xsl:if>
657
                    </xsl:if>
658
                    <xsl:choose>
658
                    <xsl:choose>
659
                        <xsl:when test="position()=last()"><xsl:text>.</xsl:text></xsl:when><xsl:otherwise><span class="separator"><xsl:text> | </xsl:text></span></xsl:otherwise>
659
                        <xsl:when test="position()=last()"><xsl:text></xsl:text></xsl:when><xsl:otherwise><span class="separator"><xsl:text> | </xsl:text></span></xsl:otherwise>
660
                    </xsl:choose>
660
                    </xsl:choose>
661
                </xsl:for-each>
661
                </xsl:for-each>
662
            </span>
662
            </span>
Lines 698-704 Link Here
698
                        </span>
698
                        </span>
699
                    </xsl:if>
699
                    </xsl:if>
700
                    <xsl:choose>
700
                    <xsl:choose>
701
                        <xsl:when test="position()=last()"><xsl:text>.</xsl:text></xsl:when><xsl:otherwise><span class="separator"><xsl:text> | </xsl:text></span></xsl:otherwise>
701
                        <xsl:when test="position()=last()"><xsl:text></xsl:text></xsl:when><xsl:otherwise><span class="separator"><xsl:text> | </xsl:text></span></xsl:otherwise>
702
                    </xsl:choose>
702
                    </xsl:choose>
703
                </xsl:for-each>
703
                </xsl:for-each>
704
            </span>
704
            </span>
Lines 1597-1603 Link Here
1597
            </xsl:if>
1597
            </xsl:if>
1598
        </a>
1598
        </a>
1599
        <xsl:choose>
1599
        <xsl:choose>
1600
            <xsl:when test="position()=last()"><xsl:text>.</xsl:text></xsl:when><xsl:otherwise><span class="separator"><xsl:text> | </xsl:text></span></xsl:otherwise>
1600
            <xsl:when test="position()=last()"><xsl:text></xsl:text></xsl:when><xsl:otherwise><span class="separator"><xsl:text> | </xsl:text></span></xsl:otherwise>
1601
        </xsl:choose>
1601
        </xsl:choose>
1602
        </xsl:for-each>
1602
        </xsl:for-each>
1603
        </h5>
1603
        </h5>
(-)a/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slimUtils.xsl (-8 / +1 lines)
Lines 339-352 Link Here
339
            <xsl:for-each select="marc:datafield[@tag=$tag]/marc:subfield[@code=$code]">
339
            <xsl:for-each select="marc:datafield[@tag=$tag]/marc:subfield[@code=$code]">
340
              <span><xsl:attribute name="property"><xsl:value-of select="$class"/></xsl:attribute>
340
              <span><xsl:attribute name="property"><xsl:value-of select="$class"/></xsl:attribute>
341
                <xsl:value-of select="."/>
341
                <xsl:value-of select="."/>
342
                <xsl:choose>
342
                <xsl:choose><xsl:when test="position()=last()"><xsl:text></xsl:text></xsl:when><xsl:otherwise><xsl:text>; </xsl:text></xsl:otherwise></xsl:choose>
343
                  <xsl:when test="position()=last()">
344
                    <xsl:text>.</xsl:text>
345
                  </xsl:when>
346
                  <xsl:otherwise>
347
                    <xsl:text>; </xsl:text>
348
                  </xsl:otherwise>
349
                </xsl:choose>
350
              </span>
343
              </span>
351
            </xsl:for-each>
344
            </xsl:for-each>
352
          </span>
345
          </span>
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slim2OPACDetail.xsl (-25 / +10 lines)
Lines 241-247 Link Here
241
                        </xsl:call-template>
241
                        </xsl:call-template>
242
            </a>
242
            </a>
243
                    <xsl:call-template name="part"/>
243
                    <xsl:call-template name="part"/>
244
        <xsl:choose><xsl:when test="position()=last()"><xsl:text>.</xsl:text></xsl:when><xsl:otherwise><xsl:text>; </xsl:text></xsl:otherwise></xsl:choose>
244
        <xsl:choose><xsl:when test="position()=last()"><xsl:text></xsl:text></xsl:when><xsl:otherwise><xsl:text>; </xsl:text></xsl:otherwise></xsl:choose>
245
        </xsl:for-each>
245
        </xsl:for-each>
246
        <!-- 490 Series traced, Ind1 = 1 -->
246
        <!-- 490 Series traced, Ind1 = 1 -->
247
        <xsl:if test="marc:datafield[@tag=490][@ind1=1]">
247
        <xsl:if test="marc:datafield[@tag=490][@ind1=1]">
Lines 465-471 Link Here
465
                   </xsl:with-param>
465
                   </xsl:with-param>
466
               </xsl:call-template>
466
               </xsl:call-template>
467
                </span>
467
                </span>
468
                    <xsl:choose><xsl:when test="position()=last()"><xsl:text>.</xsl:text></xsl:when><xsl:otherwise><xsl:text>; </xsl:text></xsl:otherwise></xsl:choose>
468
                    <xsl:choose><xsl:when test="position()=last()"><xsl:text></xsl:text></xsl:when><xsl:otherwise><xsl:text>; </xsl:text></xsl:otherwise></xsl:choose>
469
            </xsl:for-each>
469
            </xsl:for-each>
470
        </span>
470
        </span>
471
        </xsl:if>
471
        </xsl:if>
Lines 492-498 Link Here
492
                   </xsl:with-param>
492
                   </xsl:with-param>
493
               </xsl:call-template>
493
               </xsl:call-template>
494
                </span>
494
                </span>
495
                    <xsl:choose><xsl:when test="position()=last()"><xsl:text>.</xsl:text></xsl:when><xsl:otherwise><xsl:text>; </xsl:text></xsl:otherwise></xsl:choose>
495
                    <xsl:choose><xsl:when test="position()=last()"><xsl:text></xsl:text></xsl:when><xsl:otherwise><xsl:text>; </xsl:text></xsl:otherwise></xsl:choose>
496
            </xsl:for-each>
496
            </xsl:for-each>
497
        </span>
497
        </span>
498
       </xsl:if>
498
       </xsl:if>
Lines 545-558 Link Here
545
            <xsl:for-each select="marc:datafield[@tag=020]/marc:subfield[@code='a']">
545
            <xsl:for-each select="marc:datafield[@tag=020]/marc:subfield[@code='a']">
546
              <span property="isbn">
546
              <span property="isbn">
547
                <xsl:value-of select="."/>
547
                <xsl:value-of select="."/>
548
                <xsl:choose>
548
                <xsl:choose><xsl:when test="position()=last()"><xsl:text></xsl:text></xsl:when><xsl:otherwise><xsl:text>; </xsl:text></xsl:otherwise></xsl:choose>
549
                  <xsl:when test="position()=last()">
550
                    <xsl:text>.</xsl:text>
551
                  </xsl:when>
552
                  <xsl:otherwise>
553
                    <xsl:text>; </xsl:text>
554
                  </xsl:otherwise>
555
                </xsl:choose>
556
              </span>
549
              </span>
557
            </xsl:for-each>
550
            </xsl:for-each>
558
          </span>
551
          </span>
Lines 564-577 Link Here
564
            <xsl:for-each select="marc:datafield[@tag=022]/marc:subfield[@code='a']">
557
            <xsl:for-each select="marc:datafield[@tag=022]/marc:subfield[@code='a']">
565
              <span property="issn">
558
              <span property="issn">
566
                <xsl:value-of select="."/>
559
                <xsl:value-of select="."/>
567
                <xsl:choose>
560
                <xsl:choose><xsl:when test="position()=last()"><xsl:text></xsl:text></xsl:when><xsl:otherwise><xsl:text>; </xsl:text></xsl:otherwise></xsl:choose>
568
                  <xsl:when test="position()=last()">
569
                    <xsl:text>.</xsl:text>
570
                  </xsl:when>
571
                  <xsl:otherwise>
572
                    <xsl:text>; </xsl:text>
573
                  </xsl:otherwise>
574
                </xsl:choose>
575
              </span>
561
              </span>
576
            </xsl:for-each>
562
            </xsl:for-each>
577
          </span>
563
          </span>
Lines 641-647 Link Here
641
                            </xsl:if>
627
                            </xsl:if>
642
                        </span>
628
                        </span>
643
                        <!-- #13386 added separator | -->
629
                        <!-- #13386 added separator | -->
644
                        <xsl:choose><xsl:when test="position()=last()"><xsl:text>.</xsl:text></xsl:when><xsl:otherwise><span class="separator"><xsl:text> | </xsl:text></span></xsl:otherwise></xsl:choose>
630
                        <xsl:choose><xsl:when test="position()=last()"><xsl:text></xsl:text></xsl:when><xsl:otherwise><span class="separator"><xsl:text> | </xsl:text></span></xsl:otherwise></xsl:choose>
645
                    </xsl:for-each>
631
                    </xsl:for-each>
646
                </span>
632
                </span>
647
            </xsl:if>
633
            </xsl:if>
Lines 659-665 Link Here
659
                   </xsl:with-param>
645
                   </xsl:with-param>
660
               </xsl:call-template>
646
               </xsl:call-template>
661
                </span>
647
                </span>
662
                    <xsl:choose><xsl:when test="position()=last()"><xsl:text>.</xsl:text></xsl:when><xsl:otherwise><xsl:text>; </xsl:text></xsl:otherwise></xsl:choose>
648
                    <xsl:choose><xsl:when test="position()=last()"><xsl:text></xsl:text></xsl:when><xsl:otherwise><xsl:text>; </xsl:text></xsl:otherwise></xsl:choose>
663
            </xsl:for-each>
649
            </xsl:for-each>
664
        </span>
650
        </span>
665
       </xsl:if>
651
       </xsl:if>
Lines 731-737 Link Here
731
                            </span>
717
                            </span>
732
                        </xsl:if>
718
                        </xsl:if>
733
                        <xsl:choose>
719
                        <xsl:choose>
734
                            <xsl:when test="position()=last()"><xsl:text>.</xsl:text></xsl:when><xsl:otherwise><span class="separator"><xsl:text> | </xsl:text></span></xsl:otherwise>
720
                            <xsl:when test="position()=last()"><xsl:text></xsl:text></xsl:when><xsl:otherwise><span class="separator"><xsl:text> | </xsl:text></span></xsl:otherwise>
735
                        </xsl:choose>
721
                        </xsl:choose>
736
                    </xsl:for-each>
722
                    </xsl:for-each>
737
                </span>
723
                </span>
Lines 773-779 Link Here
773
                            </span>
759
                            </span>
774
                        </xsl:if>
760
                        </xsl:if>
775
                        <xsl:choose>
761
                        <xsl:choose>
776
                            <xsl:when test="position()=last()"><xsl:text>.</xsl:text></xsl:when><xsl:otherwise><span class="separator"><xsl:text> | </xsl:text></span></xsl:otherwise>
762
                            <xsl:when test="position()=last()"><xsl:text></xsl:text></xsl:when><xsl:otherwise><span class="separator"><xsl:text> | </xsl:text></span></xsl:otherwise>
777
                        </xsl:choose>
763
                        </xsl:choose>
778
                    </xsl:for-each>
764
                    </xsl:for-each>
779
                </span>
765
                </span>
Lines 1745-1751 Link Here
1745
                </a>
1731
                </a>
1746
            </xsl:if>
1732
            </xsl:if>
1747
                <xsl:choose>
1733
                <xsl:choose>
1748
                    <xsl:when test="position()=last()"><xsl:text>.</xsl:text></xsl:when><xsl:otherwise><span class="separator"><xsl:text> | </xsl:text></span></xsl:otherwise>
1734
                    <xsl:when test="position()=last()"><xsl:text></xsl:text></xsl:when><xsl:otherwise><span class="separator"><xsl:text> | </xsl:text></span></xsl:otherwise>
1749
                </xsl:choose>
1735
                </xsl:choose>
1750
            </xsl:for-each>
1736
            </xsl:for-each>
1751
        </h5>
1737
        </h5>
1752
- 

Return to bug 22884