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 201-207 Link Here
201
                        </xsl:call-template>
201
                        </xsl:call-template>
202
            </a>
202
            </a>
203
            <xsl:call-template name="part"/>
203
            <xsl:call-template name="part"/>
204
            <xsl:choose><xsl:when test="position()=last()"><xsl:text>. </xsl:text></xsl:when><xsl:otherwise><xsl:text> ; </xsl:text></xsl:otherwise></xsl:choose>
204
            <xsl:choose><xsl:when test="position()=last()"><xsl:text></xsl:text></xsl:when><xsl:otherwise><xsl:text> ; </xsl:text></xsl:otherwise></xsl:choose>
205
        </xsl:for-each>
205
        </xsl:for-each>
206
206
207
        <!-- 490 Series not traced, Ind1 = 0 -->
207
        <!-- 490 Series not traced, Ind1 = 0 -->
Lines 216-222 Link Here
216
                        </xsl:call-template>
216
                        </xsl:call-template>
217
            </a>
217
            </a>
218
                    <xsl:call-template name="part"/>
218
                    <xsl:call-template name="part"/>
219
        <xsl:choose><xsl:when test="position()=last()"><xsl:text>.</xsl:text></xsl:when><xsl:otherwise><xsl:text>; </xsl:text></xsl:otherwise></xsl:choose>
219
        <xsl:choose><xsl:when test="position()=last()"><xsl:text></xsl:text></xsl:when><xsl:otherwise><xsl:text>; </xsl:text></xsl:otherwise></xsl:choose>
220
        </xsl:for-each>
220
        </xsl:for-each>
221
        <!-- 490 Series traced, Ind1 = 1 -->
221
        <!-- 490 Series traced, Ind1 = 1 -->
222
        <xsl:if test="marc:datafield[@tag=490][@ind1=1]">
222
        <xsl:if test="marc:datafield[@tag=490][@ind1=1]">
Lines 411-417 Link Here
411
                    </xsl:call-template>
411
                    </xsl:call-template>
412
                   </xsl:with-param>
412
                   </xsl:with-param>
413
               </xsl:call-template>
413
               </xsl:call-template>
414
                    <xsl:choose><xsl:when test="position()=last()"><xsl:text>.</xsl:text></xsl:when><xsl:otherwise><xsl:text>; </xsl:text></xsl:otherwise></xsl:choose>
414
                    <xsl:choose><xsl:when test="position()=last()"><xsl:text></xsl:text></xsl:when><xsl:otherwise><xsl:text>; </xsl:text></xsl:otherwise></xsl:choose>
415
            </xsl:for-each>
415
            </xsl:for-each>
416
        </span>
416
        </span>
417
        </xsl:if>
417
        </xsl:if>
Lines 436-442 Link Here
436
                    </xsl:call-template>
436
                    </xsl:call-template>
437
                   </xsl:with-param>
437
                   </xsl:with-param>
438
               </xsl:call-template>
438
               </xsl:call-template>
439
                    <xsl:choose><xsl:when test="position()=last()"><xsl:text>.</xsl:text></xsl:when><xsl:otherwise><xsl:text>; </xsl:text></xsl:otherwise></xsl:choose>
439
                    <xsl:choose><xsl:when test="position()=last()"><xsl:text></xsl:text></xsl:when><xsl:otherwise><xsl:text>; </xsl:text></xsl:otherwise></xsl:choose>
440
            </xsl:for-each>
440
            </xsl:for-each>
441
        </span>
441
        </span>
442
       </xsl:if>
442
       </xsl:if>
Lines 546-552 Link Here
546
                        <xsl:value-of select="concat(' [',marc:subfield[@code='i'],']')"/>
546
                        <xsl:value-of select="concat(' [',marc:subfield[@code='i'],']')"/>
547
                    </xsl:if>
547
                    </xsl:if>
548
                    <!-- #13386 added separator | -->
548
                    <!-- #13386 added separator | -->
549
                    <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>
549
                    <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>
550
                </xsl:for-each>
550
                </xsl:for-each>
551
            </span>
551
            </span>
552
        </xsl:if>
552
        </xsl:if>
Lines 561-567 Link Here
561
                    </xsl:call-template>
561
                    </xsl:call-template>
562
                   </xsl:with-param>
562
                   </xsl:with-param>
563
               </xsl:call-template>
563
               </xsl:call-template>
564
                    <xsl:choose><xsl:when test="position()=last()"><xsl:text>.</xsl:text></xsl:when><xsl:otherwise><xsl:text>; </xsl:text></xsl:otherwise></xsl:choose>
564
                    <xsl:choose><xsl:when test="position()=last()"><xsl:text></xsl:text></xsl:when><xsl:otherwise><xsl:text>; </xsl:text></xsl:otherwise></xsl:choose>
565
            </xsl:for-each>
565
            </xsl:for-each>
566
        </span>
566
        </span>
567
       </xsl:if>
567
       </xsl:if>
Lines 628-634 Link Here
628
                        </span>
628
                        </span>
629
                    </xsl:if>
629
                    </xsl:if>
630
                    <xsl:choose>
630
                    <xsl:choose>
631
                        <xsl:when test="position()=last()"><xsl:text>.</xsl:text></xsl:when><xsl:otherwise><span class="separator"><xsl:text> | </xsl:text></span></xsl:otherwise>
631
                        <xsl:when test="position()=last()"><xsl:text></xsl:text></xsl:when><xsl:otherwise><span class="separator"><xsl:text> | </xsl:text></span></xsl:otherwise>
632
                    </xsl:choose>
632
                    </xsl:choose>
633
                </xsl:for-each>
633
                </xsl:for-each>
634
            </span>
634
            </span>
Lines 670-676 Link Here
670
                        </span>
670
                        </span>
671
                    </xsl:if>
671
                    </xsl:if>
672
                    <xsl:choose>
672
                    <xsl:choose>
673
                        <xsl:when test="position()=last()"><xsl:text>.</xsl:text></xsl:when><xsl:otherwise><span class="separator"><xsl:text> | </xsl:text></span></xsl:otherwise>
673
                        <xsl:when test="position()=last()"><xsl:text></xsl:text></xsl:when><xsl:otherwise><span class="separator"><xsl:text> | </xsl:text></span></xsl:otherwise>
674
                    </xsl:choose>
674
                    </xsl:choose>
675
                </xsl:for-each>
675
                </xsl:for-each>
676
            </span>
676
            </span>
Lines 1521-1527 Link Here
1521
            </xsl:if>
1521
            </xsl:if>
1522
        </a>
1522
        </a>
1523
        <xsl:choose>
1523
        <xsl:choose>
1524
            <xsl:when test="position()=last()"><xsl:text>.</xsl:text></xsl:when><xsl:otherwise><span class="separator"><xsl:text> | </xsl:text></span></xsl:otherwise>
1524
            <xsl:when test="position()=last()"><xsl:text></xsl:text></xsl:when><xsl:otherwise><span class="separator"><xsl:text> | </xsl:text></span></xsl:otherwise>
1525
        </xsl:choose>
1525
        </xsl:choose>
1526
        </xsl:for-each>
1526
        </xsl:for-each>
1527
        </h5>
1527
        </h5>
(-)a/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slimUtils.xsl (-8 / +1 lines)
Lines 338-351 Link Here
338
            <xsl:for-each select="marc:datafield[@tag=$tag]/marc:subfield[@code=$code]">
338
            <xsl:for-each select="marc:datafield[@tag=$tag]/marc:subfield[@code=$code]">
339
              <span><xsl:attribute name="property"><xsl:value-of select="$class"/></xsl:attribute>
339
              <span><xsl:attribute name="property"><xsl:value-of select="$class"/></xsl:attribute>
340
                <xsl:value-of select="."/>
340
                <xsl:value-of select="."/>
341
                <xsl:choose>
341
                <xsl:choose><xsl:when test="position()=last()"><xsl:text></xsl:text></xsl:when><xsl:otherwise><xsl:text>; </xsl:text></xsl:otherwise></xsl:choose>
342
                  <xsl:when test="position()=last()">
343
                    <xsl:text>.</xsl:text>
344
                  </xsl:when>
345
                  <xsl:otherwise>
346
                    <xsl:text>; </xsl:text>
347
                  </xsl:otherwise>
348
                </xsl:choose>
349
              </span>
342
              </span>
350
            </xsl:for-each>
343
            </xsl:for-each>
351
          </span>
344
          </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 443-449 Link Here
443
                   </xsl:with-param>
443
                   </xsl:with-param>
444
               </xsl:call-template>
444
               </xsl:call-template>
445
                </span>
445
                </span>
446
                    <xsl:choose><xsl:when test="position()=last()"><xsl:text>.</xsl:text></xsl:when><xsl:otherwise><xsl:text>; </xsl:text></xsl:otherwise></xsl:choose>
446
                    <xsl:choose><xsl:when test="position()=last()"><xsl:text></xsl:text></xsl:when><xsl:otherwise><xsl:text>; </xsl:text></xsl:otherwise></xsl:choose>
447
            </xsl:for-each>
447
            </xsl:for-each>
448
        </span>
448
        </span>
449
        </xsl:if>
449
        </xsl:if>
Lines 470-476 Link Here
470
                   </xsl:with-param>
470
                   </xsl:with-param>
471
               </xsl:call-template>
471
               </xsl:call-template>
472
                </span>
472
                </span>
473
                    <xsl:choose><xsl:when test="position()=last()"><xsl:text>.</xsl:text></xsl:when><xsl:otherwise><xsl:text>; </xsl:text></xsl:otherwise></xsl:choose>
473
                    <xsl:choose><xsl:when test="position()=last()"><xsl:text></xsl:text></xsl:when><xsl:otherwise><xsl:text>; </xsl:text></xsl:otherwise></xsl:choose>
474
            </xsl:for-each>
474
            </xsl:for-each>
475
        </span>
475
        </span>
476
       </xsl:if>
476
       </xsl:if>
Lines 523-536 Link Here
523
            <xsl:for-each select="marc:datafield[@tag=020]/marc:subfield[@code='a']">
523
            <xsl:for-each select="marc:datafield[@tag=020]/marc:subfield[@code='a']">
524
              <span property="isbn">
524
              <span property="isbn">
525
                <xsl:value-of select="."/>
525
                <xsl:value-of select="."/>
526
                <xsl:choose>
526
                <xsl:choose><xsl:when test="position()=last()"><xsl:text></xsl:text></xsl:when><xsl:otherwise><xsl:text>; </xsl:text></xsl:otherwise></xsl:choose>
527
                  <xsl:when test="position()=last()">
528
                    <xsl:text>.</xsl:text>
529
                  </xsl:when>
530
                  <xsl:otherwise>
531
                    <xsl:text>; </xsl:text>
532
                  </xsl:otherwise>
533
                </xsl:choose>
534
              </span>
527
              </span>
535
            </xsl:for-each>
528
            </xsl:for-each>
536
          </span>
529
          </span>
Lines 542-555 Link Here
542
            <xsl:for-each select="marc:datafield[@tag=022]/marc:subfield[@code='a']">
535
            <xsl:for-each select="marc:datafield[@tag=022]/marc:subfield[@code='a']">
543
              <span property="issn">
536
              <span property="issn">
544
                <xsl:value-of select="."/>
537
                <xsl:value-of select="."/>
545
                <xsl:choose>
538
                <xsl:choose><xsl:when test="position()=last()"><xsl:text></xsl:text></xsl:when><xsl:otherwise><xsl:text>; </xsl:text></xsl:otherwise></xsl:choose>
546
                  <xsl:when test="position()=last()">
547
                    <xsl:text>.</xsl:text>
548
                  </xsl:when>
549
                  <xsl:otherwise>
550
                    <xsl:text>; </xsl:text>
551
                  </xsl:otherwise>
552
                </xsl:choose>
553
              </span>
539
              </span>
554
            </xsl:for-each>
540
            </xsl:for-each>
555
          </span>
541
          </span>
Lines 619-625 Link Here
619
                            </xsl:if>
605
                            </xsl:if>
620
                        </span>
606
                        </span>
621
                        <!-- #13386 added separator | -->
607
                        <!-- #13386 added separator | -->
622
                        <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>
608
                        <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>
623
                    </xsl:for-each>
609
                    </xsl:for-each>
624
                </span>
610
                </span>
625
            </xsl:if>
611
            </xsl:if>
Lines 637-643 Link Here
637
                   </xsl:with-param>
623
                   </xsl:with-param>
638
               </xsl:call-template>
624
               </xsl:call-template>
639
                </span>
625
                </span>
640
                    <xsl:choose><xsl:when test="position()=last()"><xsl:text>.</xsl:text></xsl:when><xsl:otherwise><xsl:text>; </xsl:text></xsl:otherwise></xsl:choose>
626
                    <xsl:choose><xsl:when test="position()=last()"><xsl:text></xsl:text></xsl:when><xsl:otherwise><xsl:text>; </xsl:text></xsl:otherwise></xsl:choose>
641
            </xsl:for-each>
627
            </xsl:for-each>
642
        </span>
628
        </span>
643
       </xsl:if>
629
       </xsl:if>
Lines 709-715 Link Here
709
                            </span>
695
                            </span>
710
                        </xsl:if>
696
                        </xsl:if>
711
                        <xsl:choose>
697
                        <xsl:choose>
712
                            <xsl:when test="position()=last()"><xsl:text>.</xsl:text></xsl:when><xsl:otherwise><span class="separator"><xsl:text> | </xsl:text></span></xsl:otherwise>
698
                            <xsl:when test="position()=last()"><xsl:text></xsl:text></xsl:when><xsl:otherwise><span class="separator"><xsl:text> | </xsl:text></span></xsl:otherwise>
713
                        </xsl:choose>
699
                        </xsl:choose>
714
                    </xsl:for-each>
700
                    </xsl:for-each>
715
                </span>
701
                </span>
Lines 751-757 Link Here
751
                            </span>
737
                            </span>
752
                        </xsl:if>
738
                        </xsl:if>
753
                        <xsl:choose>
739
                        <xsl:choose>
754
                            <xsl:when test="position()=last()"><xsl:text>.</xsl:text></xsl:when><xsl:otherwise><span class="separator"><xsl:text> | </xsl:text></span></xsl:otherwise>
740
                            <xsl:when test="position()=last()"><xsl:text></xsl:text></xsl:when><xsl:otherwise><span class="separator"><xsl:text> | </xsl:text></span></xsl:otherwise>
755
                        </xsl:choose>
741
                        </xsl:choose>
756
                    </xsl:for-each>
742
                    </xsl:for-each>
757
                </span>
743
                </span>
Lines 1678-1684 Link Here
1678
                </a>
1664
                </a>
1679
            </xsl:if>
1665
            </xsl:if>
1680
                <xsl:choose>
1666
                <xsl:choose>
1681
                    <xsl:when test="position()=last()"><xsl:text>.</xsl:text></xsl:when><xsl:otherwise><span class="separator"><xsl:text> | </xsl:text></span></xsl:otherwise>
1667
                    <xsl:when test="position()=last()"><xsl:text></xsl:text></xsl:when><xsl:otherwise><span class="separator"><xsl:text> | </xsl:text></span></xsl:otherwise>
1682
                </xsl:choose>
1668
                </xsl:choose>
1683
            </xsl:for-each>
1669
            </xsl:for-each>
1684
        </h5>
1670
        </h5>
1685
- 

Return to bug 22884