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

(-)a/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetDetail.xsl (+43 lines)
Lines 753-758 Link Here
753
            </span>
753
            </span>
754
        </xsl:if>
754
        </xsl:if>
755
755
756
<!-- MARC21 776 Additional Physical Form Entry -->
757
    <xsl:if test="marc:datafield[@tag=776]">
758
        <span class="results_summary add_physical_form">
759
            <span class="label">Additional physical formats: </span>
760
            <xsl:for-each select="marc:datafield[@tag=776]">
761
                <xsl:variable name="linktext">
762
                    <xsl:choose>
763
                    <xsl:when test="marc:subfield[@code='t']">
764
                        <xsl:value-of select="marc:subfield[@code='t']"/>
765
                    </xsl:when>
766
                    <xsl:when test="marc:subfield[@code='a']">
767
                        <xsl:value-of select="marc:subfield[@code='a']"/>
768
                    </xsl:when>
769
                    <xsl:otherwise>
770
                        <xsl:text>No title</xsl:text>
771
                    </xsl:otherwise>
772
                    </xsl:choose>
773
                </xsl:variable>
774
                <xsl:choose>
775
                <xsl:when test="marc:subfield[@code='w']">
776
                    <a>
777
                    <xsl:attribute name="href">
778
                        <xsl:text>/cgi-bin/koha/catalogue/search.pl?q=Control-number:</xsl:text>
779
                        <xsl:call-template name="extractControlNumber">
780
                            <xsl:with-param name="subfieldW">
781
                                <xsl:value-of select="marc:subfield[@code='w']"/>
782
                            </xsl:with-param>
783
                        </xsl:call-template>
784
                    </xsl:attribute>
785
                    <xsl:value-of select="$linktext"/>
786
                    </a>
787
                </xsl:when>
788
                <xsl:otherwise>
789
				    <xsl:value-of select="$linktext"/>
790
                </xsl:otherwise>
791
                </xsl:choose>
792
                <xsl:if test="position() != last()">
793
                    <xsl:text>; </xsl:text>
794
                </xsl:if>
795
            </xsl:for-each>
796
        </span>
797
    </xsl:if>
798
756
<!-- DDC classification -->
799
<!-- DDC classification -->
757
    <xsl:if test="marc:datafield[@tag=082]">
800
    <xsl:if test="marc:datafield[@tag=082]">
758
        <span class="results_summary ddc">
801
        <span class="results_summary ddc">
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slim2OPACDetail.xsl (-1 / +43 lines)
Lines 805-810 Link Here
805
                </span>
805
                </span>
806
            </xsl:if>
806
            </xsl:if>
807
807
808
<!-- MARC21 776 Additional Physical Form Entry -->
809
    <xsl:if test="marc:datafield[@tag=776]">
810
        <span class="results_summary add_physical_form">
811
            <span class="label">Additional physical formats: </span>
812
            <xsl:for-each select="marc:datafield[@tag=776]">
813
                <xsl:variable name="linktext">
814
                    <xsl:choose>
815
                    <xsl:when test="marc:subfield[@code='t']">
816
                        <xsl:value-of select="marc:subfield[@code='t']"/>
817
                    </xsl:when>
818
                    <xsl:when test="marc:subfield[@code='a']">
819
                        <xsl:value-of select="marc:subfield[@code='a']"/>
820
                    </xsl:when>
821
                    <xsl:otherwise>
822
                        <xsl:text>No title</xsl:text>
823
                    </xsl:otherwise>
824
                    </xsl:choose>
825
                </xsl:variable>
826
                <xsl:choose>
827
                <xsl:when test="marc:subfield[@code='w']">
828
                    <a>
829
                    <xsl:attribute name="href">
830
                        <xsl:text>/cgi-bin/koha/catalogue/search.pl?q=Control-number:</xsl:text>
831
                        <xsl:call-template name="extractControlNumber">
832
                            <xsl:with-param name="subfieldW">
833
                                <xsl:value-of select="marc:subfield[@code='w']"/>
834
                            </xsl:with-param>
835
                        </xsl:call-template>
836
                    </xsl:attribute>
837
                    <xsl:value-of select="$linktext"/>
838
                    </a>
839
                </xsl:when>
840
                <xsl:otherwise>
841
				    <xsl:value-of select="$linktext"/>
842
                </xsl:otherwise>
843
                </xsl:choose>
844
                <xsl:if test="position() != last()">
845
                    <xsl:text>; </xsl:text>
846
                </xsl:if>
847
            </xsl:for-each>
848
        </span>
849
    </xsl:if>
850
808
<!-- DDC classification -->
851
<!-- DDC classification -->
809
    <xsl:if test="marc:datafield[@tag=082]">
852
    <xsl:if test="marc:datafield[@tag=082]">
810
        <span class="results_summary ddc">
853
        <span class="results_summary ddc">
811
- 

Return to bug 15140