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

(-)a/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetDetail.xsl (-9 / +10 lines)
Lines 1016-1033 Link Here
1016
        </span>
1016
        </span>
1017
    </xsl:if>
1017
    </xsl:if>
1018
1018
1019
        <!-- 505 - Formatted contents note -->
1019
        <xsl:if test="marc:datafield[@tag=505]">
1020
        <xsl:if test="marc:datafield[@tag=505]">
1020
            <div class="results_summary contents">
1021
            <div class="results_summary contents">
1021
            <xsl:choose>
1022
            <xsl:choose>
1022
            <xsl:when test="marc:datafield[@tag=505]/@ind1=0">
1023
                <xsl:when test="marc:datafield[@tag=505]/@ind1=0">
1023
                <span class="label">Contents:</span>
1024
                    <span class="label">Contents:</span>
1024
            </xsl:when>
1025
                </xsl:when>
1025
            <xsl:when test="marc:datafield[@tag=505]/@ind1=1">
1026
                <xsl:when test="marc:datafield[@tag=505]/@ind1=1">
1026
                <span class="label">Incomplete contents:</span>
1027
                    <span class="label">Incomplete contents:</span>
1027
            </xsl:when>
1028
                </xsl:when>
1028
            <xsl:when test="marc:datafield[@tag=505]/@ind1=2">
1029
                <xsl:when test="marc:datafield[@tag=505]/@ind1=2">
1029
                <span class="label">Partial contents:</span>
1030
                    <span class="label">Partial contents:</span>
1030
            </xsl:when>
1031
                </xsl:when>
1031
            </xsl:choose>
1032
            </xsl:choose>
1032
                <xsl:for-each select="marc:datafield[@tag=505]">
1033
                <xsl:for-each select="marc:datafield[@tag=505]">
1033
                    <div class='contentblock'>
1034
                    <div class='contentblock'>
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slim2OPACDetail.xsl (-33 / +32 lines)
Lines 1097-1135 Link Here
1097
        </xsl:for-each>
1097
        </xsl:for-each>
1098
        </xsl:if>
1098
        </xsl:if>
1099
1099
1100
        <!-- 505 -->
1100
        <!-- 505 - Formatted contents note -->
1101
        <xsl:if test="marc:datafield[@tag=505]">
1101
        <xsl:if test="marc:datafield[@tag=505]">
1102
        <div class="results_summary contents">
1102
            <div class="results_summary contents">
1103
        <xsl:for-each select="marc:datafield[@tag=505]">
1103
                <xsl:for-each select="marc:datafield[@tag=505]">
1104
        <xsl:if test="position()=1">
1104
                    <xsl:if test="position()=1">
1105
            <xsl:choose>
1105
                        <xsl:choose>
1106
            <xsl:when test="@ind1=1">
1106
                        <xsl:when test="@ind1=1">
1107
                <span class="label">Incomplete contents:</span>
1107
                            <span class="label">Incomplete contents:</span>
1108
            </xsl:when>
1108
                        </xsl:when>
1109
            <xsl:when test="@ind1=2">
1109
                        <xsl:when test="@ind1=2">
1110
                <span class="label">Partial contents:</span>
1110
                            <span class="label">Partial contents:</span>
1111
            </xsl:when>
1111
                        </xsl:when>
1112
            <xsl:otherwise>
1112
                        <xsl:otherwise>
1113
                <span class="label">Contents:</span>
1113
                            <span class="label">Contents:</span>
1114
            </xsl:otherwise>
1114
                        </xsl:otherwise>
1115
            </xsl:choose>
1115
                        </xsl:choose>
1116
        </xsl:if>
1116
                    </xsl:if>
1117
        <div class='contentblock' property='description'>
1117
                    <div class='contentblock' property='description'>
1118
        <xsl:choose>
1118
                        <xsl:choose>
1119
        <xsl:when test="@ind2=0">
1119
                            <xsl:when test="@ind2=0">
1120
            <xsl:call-template name="subfieldSelectSpan">
1120
                                <xsl:call-template name="subfieldSelectSpan">
1121
                <xsl:with-param name="codes">trug</xsl:with-param>
1121
                                    <xsl:with-param name="codes">trug</xsl:with-param>
1122
            </xsl:call-template>
1122
                                </xsl:call-template>
1123
        </xsl:when>
1123
                            </xsl:when>
1124
        <xsl:otherwise>
1124
                            <xsl:otherwise>
1125
            <xsl:call-template name="subfieldSelectSpan">
1125
                                <xsl:call-template name="subfieldSelectSpan">
1126
                <xsl:with-param name="codes">atrug</xsl:with-param>
1126
                                    <xsl:with-param name="codes">atrug</xsl:with-param>
1127
            </xsl:call-template>
1127
                                </xsl:call-template>
1128
        </xsl:otherwise>
1128
                            </xsl:otherwise>
1129
        </xsl:choose>
1129
                        </xsl:choose>
1130
        </div>
1130
                    </div>
1131
        </xsl:for-each>
1131
                </xsl:for-each>
1132
        </div>
1132
            </div>
1133
        </xsl:if>
1133
        </xsl:if>
1134
1134
1135
        <!-- 583 -->
1135
        <!-- 583 -->
1136
- 

Return to bug 19616