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 417-423 Link Here
417
                    </xsl:call-template>
417
                    </xsl:call-template>
418
                   </xsl:with-param>
418
                   </xsl:with-param>
419
               </xsl:call-template>
419
               </xsl:call-template>
420
                    <xsl:choose><xsl:when test="position()=last()"><xsl:text>.</xsl:text></xsl:when><xsl:otherwise><xsl:text>; </xsl:text></xsl:otherwise></xsl:choose>
420
                    <xsl:choose><xsl:when test="position()=last()"><xsl:text></xsl:text></xsl:when><xsl:otherwise><xsl:text>; </xsl:text></xsl:otherwise></xsl:choose>
421
            </xsl:for-each>
421
            </xsl:for-each>
422
        </span>
422
        </span>
423
        </xsl:if>
423
        </xsl:if>
Lines 442-448 Link Here
442
                    </xsl:call-template>
442
                    </xsl:call-template>
443
                   </xsl:with-param>
443
                   </xsl:with-param>
444
               </xsl:call-template>
444
               </xsl:call-template>
445
                    <xsl:choose><xsl:when test="position()=last()"><xsl:text>.</xsl:text></xsl:when><xsl:otherwise><xsl:text>; </xsl:text></xsl:otherwise></xsl:choose>
445
                    <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:for-each>
446
            </xsl:for-each>
447
        </span>
447
        </span>
448
       </xsl:if>
448
       </xsl:if>
Lines 552-558 Link Here
552
                        <xsl:value-of select="concat(' [',marc:subfield[@code='i'],']')"/>
552
                        <xsl:value-of select="concat(' [',marc:subfield[@code='i'],']')"/>
553
                    </xsl:if>
553
                    </xsl:if>
554
                    <!-- #13386 added separator | -->
554
                    <!-- #13386 added separator | -->
555
                    <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>
555
                    <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>
556
                </xsl:for-each>
556
                </xsl:for-each>
557
            </span>
557
            </span>
558
        </xsl:if>
558
        </xsl:if>
Lines 567-573 Link Here
567
                    </xsl:call-template>
567
                    </xsl:call-template>
568
                   </xsl:with-param>
568
                   </xsl:with-param>
569
               </xsl:call-template>
569
               </xsl:call-template>
570
                    <xsl:choose><xsl:when test="position()=last()"><xsl:text>.</xsl:text></xsl:when><xsl:otherwise><xsl:text>; </xsl:text></xsl:otherwise></xsl:choose>
570
                    <xsl:choose><xsl:when test="position()=last()"><xsl:text></xsl:text></xsl:when><xsl:otherwise><xsl:text>; </xsl:text></xsl:otherwise></xsl:choose>
571
            </xsl:for-each>
571
            </xsl:for-each>
572
        </span>
572
        </span>
573
       </xsl:if>
573
       </xsl:if>
Lines 634-640 Link Here
634
                        </span>
634
                        </span>
635
                    </xsl:if>
635
                    </xsl:if>
636
                    <xsl:choose>
636
                    <xsl:choose>
637
                        <xsl:when test="position()=last()"><xsl:text>.</xsl:text></xsl:when><xsl:otherwise><span class="separator"><xsl:text> | </xsl:text></span></xsl:otherwise>
637
                        <xsl:when test="position()=last()"><xsl:text></xsl:text></xsl:when><xsl:otherwise><span class="separator"><xsl:text> | </xsl:text></span></xsl:otherwise>
638
                    </xsl:choose>
638
                    </xsl:choose>
639
                </xsl:for-each>
639
                </xsl:for-each>
640
            </span>
640
            </span>
Lines 676-682 Link Here
676
                        </span>
676
                        </span>
677
                    </xsl:if>
677
                    </xsl:if>
678
                    <xsl:choose>
678
                    <xsl:choose>
679
                        <xsl:when test="position()=last()"><xsl:text>.</xsl:text></xsl:when><xsl:otherwise><span class="separator"><xsl:text> | </xsl:text></span></xsl:otherwise>
679
                        <xsl:when test="position()=last()"><xsl:text></xsl:text></xsl:when><xsl:otherwise><span class="separator"><xsl:text> | </xsl:text></span></xsl:otherwise>
680
                    </xsl:choose>
680
                    </xsl:choose>
681
                </xsl:for-each>
681
                </xsl:for-each>
682
            </span>
682
            </span>
Lines 1575-1581 Link Here
1575
            </xsl:if>
1575
            </xsl:if>
1576
        </a>
1576
        </a>
1577
        <xsl:choose>
1577
        <xsl:choose>
1578
            <xsl:when test="position()=last()"><xsl:text>.</xsl:text></xsl:when><xsl:otherwise><span class="separator"><xsl:text> | </xsl:text></span></xsl:otherwise>
1578
            <xsl:when test="position()=last()"><xsl:text></xsl:text></xsl:when><xsl:otherwise><span class="separator"><xsl:text> | </xsl:text></span></xsl:otherwise>
1579
        </xsl:choose>
1579
        </xsl:choose>
1580
        </xsl:for-each>
1580
        </xsl:for-each>
1581
        </h5>
1581
        </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 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 1723-1729 Link Here
1723
                </a>
1709
                </a>
1724
            </xsl:if>
1710
            </xsl:if>
1725
                <xsl:choose>
1711
                <xsl:choose>
1726
                    <xsl:when test="position()=last()"><xsl:text>.</xsl:text></xsl:when><xsl:otherwise><span class="separator"><xsl:text> | </xsl:text></span></xsl:otherwise>
1712
                    <xsl:when test="position()=last()"><xsl:text></xsl:text></xsl:when><xsl:otherwise><span class="separator"><xsl:text> | </xsl:text></span></xsl:otherwise>
1727
                </xsl:choose>
1713
                </xsl:choose>
1728
            </xsl:for-each>
1714
            </xsl:for-each>
1729
        </h5>
1715
        </h5>
1730
- 

Return to bug 22884