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

(-)a/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetDetail.xsl (+22 lines)
Lines 1052-1057 Link Here
1052
            </span>
1052
            </span>
1053
        </xsl:if>
1053
        </xsl:if>
1054
1054
1055
        <!-- 530 -->
1056
        <xsl:if test="marc:datafield[@tag=530]">
1057
            <span class="results_summary additionalforms">
1058
                <span class="label">Available additional physical forms:</span>
1059
                <xsl:for-each select="marc:datafield[@tag=530]">
1060
                    <xsl:call-template name="subfieldSelect">
1061
                        <xsl:with-param name="codes">abcd</xsl:with-param>
1062
                    </xsl:call-template>
1063
                    <xsl:if test="marc:subfield[@code='u']">
1064
                        <xsl:for-each select="marc:subfield[@code='u']">
1065
                            <xsl:text> </xsl:text>
1066
                            <a>
1067
                                <xsl:attribute name="href"><xsl:value-of select="text()"/></xsl:attribute>
1068
                                <xsl:value-of select="text()"/>
1069
                            </a>
1070
                        </xsl:for-each>
1071
                    </xsl:if>
1072
                   <xsl:if test="position()!=last()"><span class="separator"><xsl:text> | </xsl:text></span></xsl:if>
1073
                </xsl:for-each>
1074
            </span>
1075
        </xsl:if>
1076
1055
        <!-- Content Warning -->
1077
        <!-- Content Warning -->
1056
        <xsl:variable name="ContentWarningField" select="marc:sysprefs/marc:syspref[@name='ContentWarningField']"/>
1078
        <xsl:variable name="ContentWarningField" select="marc:sysprefs/marc:syspref[@name='ContentWarningField']"/>
1057
        <xsl:if test="marc:datafield[@tag=$ContentWarningField]">
1079
        <xsl:if test="marc:datafield[@tag=$ContentWarningField]">
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slim2OPACDetail.xsl (-16 / +24 lines)
Lines 1138-1158 Link Here
1138
1138
1139
        <!-- 530 -->
1139
        <!-- 530 -->
1140
        <xsl:if test="marc:datafield[@tag=530]">
1140
        <xsl:if test="marc:datafield[@tag=530]">
1141
        <xsl:for-each select="marc:datafield[@tag=530]">
1141
            <span class="results_summary additionalforms">
1142
        <span class="results_summary additionalforms">
1142
                <span class="label">Available additional physical forms:</span>
1143
            <xsl:call-template name="subfieldSelect">
1143
                <ul class="resource_list">
1144
                <xsl:with-param name="codes">abcd</xsl:with-param>
1144
                    <xsl:for-each select="marc:datafield[@tag=530]">
1145
            </xsl:call-template>
1145
                        <li>
1146
            <xsl:for-each select="marc:subfield[@code='u']">
1146
                            <xsl:call-template name="subfieldSelect">
1147
                <a><xsl:attribute name="href"><xsl:value-of select="text()"/></xsl:attribute>
1147
                                <xsl:with-param name="codes">abcd</xsl:with-param>
1148
                <xsl:if test="$OPACURLOpenInNewWindow='1'">
1148
                            </xsl:call-template>
1149
                    <xsl:attribute name="target">_blank</xsl:attribute>
1149
                            <xsl:if test="marc:subfield[@code='u']">
1150
                </xsl:if>
1150
                                <xsl:for-each select="marc:subfield[@code='u']">
1151
                <xsl:value-of select="text()"/>
1151
                                    <xsl:text> </xsl:text>
1152
                </a>
1152
                                    <a>
1153
            </xsl:for-each>
1153
                                        <xsl:attribute name="href"><xsl:value-of select="text()"/></xsl:attribute>
1154
        </span>
1154
                                        <xsl:if test="$OPACURLOpenInNewWindow='1'">
1155
        </xsl:for-each>
1155
                                            <xsl:attribute name="target">_blank</xsl:attribute>
1156
                                        </xsl:if>
1157
                                        <xsl:value-of select="text()"/>
1158
                                    </a>
1159
                                </xsl:for-each>
1160
                            </xsl:if>
1161
                        </li>
1162
                    </xsl:for-each>
1163
                </ul>
1164
            </span>
1156
        </xsl:if>
1165
        </xsl:if>
1157
1166
1158
        <!-- 505 - Formatted contents note -->
1167
        <!-- 505 - Formatted contents note -->
1159
- 

Return to bug 26862