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

(-)a/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetDetail.xsl (-27 / +23 lines)
Lines 443-461 Link Here
443
        </xsl:if>
443
        </xsl:if>
444
        <xsl:if test="marc:datafield[@tag=505]">
444
        <xsl:if test="marc:datafield[@tag=505]">
445
        <xsl:for-each select="marc:datafield[@tag=505]">
445
        <xsl:for-each select="marc:datafield[@tag=505]">
446
        <span class="results_summary"><span class="label">
446
        <span class="results_summary">
447
        <xsl:choose>
447
        <xsl:choose>
448
        <xsl:when test="@ind1=0">
448
        <xsl:when test="@ind1=0">
449
            Contents:
449
            <span class="label">Contents:</span>
450
        </xsl:when>
450
        </xsl:when>
451
        <xsl:when test="@ind1=1">
451
        <xsl:when test="@ind1=1">
452
            Incomplete contents:
452
            <span class="label">Incomplete contents:</span>
453
        </xsl:when>
453
        </xsl:when>
454
        <xsl:when test="@ind1=1">
454
        <xsl:when test="@ind1=1">
455
            Partial contents:
455
            <span class="label">Partial contents:</span>
456
        </xsl:when>
456
        </xsl:when>
457
        </xsl:choose>  
457
        </xsl:choose>  
458
        </span>
459
        <xsl:choose>
458
        <xsl:choose>
460
        <xsl:when test="@ind2=0">
459
        <xsl:when test="@ind2=0">
461
            <xsl:for-each select="marc:subfield[@code='t']">
460
            <xsl:for-each select="marc:subfield[@code='t']">
Lines 475-508 Link Here
475
        <!-- 780 -->
474
        <!-- 780 -->
476
        <xsl:if test="marc:datafield[@tag=780]">
475
        <xsl:if test="marc:datafield[@tag=780]">
477
        <xsl:for-each select="marc:datafield[@tag=780]">
476
        <xsl:for-each select="marc:datafield[@tag=780]">
478
        <span class="results_summary"><span class="label">
477
        <span class="results_summary">
479
        <xsl:choose>
478
        <xsl:choose>
480
        <xsl:when test="@ind2=0">
479
        <xsl:when test="@ind2=0">
481
            Continues:
480
            <span class="label">Continues:</span>
482
        </xsl:when>
481
        </xsl:when>
483
        <xsl:when test="@ind2=1">
482
        <xsl:when test="@ind2=1">
484
            Continues in part:
483
            <span class="label">Continues in part:</span>
485
        </xsl:when>
484
        </xsl:when>
486
        <xsl:when test="@ind2=2">
485
        <xsl:when test="@ind2=2">
487
            Supersedes:
486
            <span class="label">Supersedes:</span>
488
        </xsl:when>
487
        </xsl:when>
489
        <xsl:when test="@ind2=3">
488
        <xsl:when test="@ind2=3">
490
            Supersedes in part:
489
            <span class="label">Supersedes in part:</span>
491
        </xsl:when>
490
        </xsl:when>
492
        <xsl:when test="@ind2=4">
491
        <xsl:when test="@ind2=4">
493
            Formed by the union: ... and: ...
492
            <span class="label">Formed by the union: ... and: ...</span>
494
        </xsl:when>
493
        </xsl:when>
495
        <xsl:when test="@ind2=5">
494
        <xsl:when test="@ind2=5">
496
            Absorbed:
495
            <span class="label">Absorbed:</span>
497
        </xsl:when>
496
        </xsl:when>
498
        <xsl:when test="@ind2=6">
497
        <xsl:when test="@ind2=6">
499
            Absorbed in part:
498
            <span class="label">Absorbed in part:</span>
500
        </xsl:when>
499
        </xsl:when>
501
        <xsl:when test="@ind2=7">
500
        <xsl:when test="@ind2=7">
502
            Separated from:
501
            <span class="label">Separated from:</span>
503
        </xsl:when>
502
        </xsl:when>
504
        </xsl:choose>
503
        </xsl:choose>
505
        </span>
506
                <xsl:variable name="f780">
504
                <xsl:variable name="f780">
507
                    <xsl:call-template name="subfieldSelect">
505
                    <xsl:call-template name="subfieldSelect">
508
                        <xsl:with-param name="codes">at</xsl:with-param>
506
                        <xsl:with-param name="codes">at</xsl:with-param>
Lines 525-562 Link Here
525
        <!-- 785 -->
523
        <!-- 785 -->
526
        <xsl:if test="marc:datafield[@tag=785]">
524
        <xsl:if test="marc:datafield[@tag=785]">
527
        <xsl:for-each select="marc:datafield[@tag=785]">
525
        <xsl:for-each select="marc:datafield[@tag=785]">
528
        <span class="results_summary"><span class="label">
526
        <span class="results_summary">
529
        <xsl:choose>
527
        <xsl:choose>
530
        <xsl:when test="@ind2=0">
528
        <xsl:when test="@ind2=0">
531
            Continued by:
529
            <span class="label">Continued by:</span>
532
        </xsl:when>
530
        </xsl:when>
533
        <xsl:when test="@ind2=1">
531
        <xsl:when test="@ind2=1">
534
            Continued in part by:
532
            <span class="label">Continued in part by:</span>
535
        </xsl:when>
533
        </xsl:when>
536
        <xsl:when test="@ind2=2">
534
        <xsl:when test="@ind2=2">
537
            Superseded by:
535
            <span class="label">Superseded by:</span>
538
        </xsl:when>
536
        </xsl:when>
539
        <xsl:when test="@ind2=3">
537
        <xsl:when test="@ind2=3">
540
            Superseded in part by:
538
            <span class="label">Superseded in part by:</span>
541
        </xsl:when>
539
        </xsl:when>
542
        <xsl:when test="@ind2=4">
540
        <xsl:when test="@ind2=4">
543
            Absorbed by:
541
            <span class="label">Absorbed by:</span>
544
        </xsl:when>
542
        </xsl:when>
545
        <xsl:when test="@ind2=5">
543
        <xsl:when test="@ind2=5">
546
            Absorbed in part by:
544
            <span class="label">Absorbed in part by:</span>
547
        </xsl:when>
545
        </xsl:when>
548
        <xsl:when test="@ind2=6">
546
        <xsl:when test="@ind2=6">
549
            Split into .. and ...:
547
            <span class="label">Split into .. and ...:</span>
550
        </xsl:when>
548
        </xsl:when>
551
        <xsl:when test="@ind2=7">
549
        <xsl:when test="@ind2=7">
552
            Merged with ... to form ...
550
            <span class="label">Merged with ... to form ...</span>
553
        </xsl:when>
551
        </xsl:when>
554
        <xsl:when test="@ind2=8">
552
        <xsl:when test="@ind2=8">
555
            Changed back to:
553
            <span class="label">Changed back to:</span>
556
        </xsl:when>
554
        </xsl:when>
557
555
558
        </xsl:choose>
556
        </xsl:choose>
559
        </span>
560
                   <xsl:variable name="f785">
557
                   <xsl:variable name="f785">
561
                    <xsl:call-template name="subfieldSelect">
558
                    <xsl:call-template name="subfieldSelect">
562
                        <xsl:with-param name="codes">at</xsl:with-param>
559
                        <xsl:with-param name="codes">at</xsl:with-param>
563
- 

Return to bug 4821