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

(-)a/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetDetail.xsl (-1 / +29 lines)
Lines 1069-1079 Link Here
1069
                            </a>
1069
                            </a>
1070
                        </xsl:for-each>
1070
                        </xsl:for-each>
1071
                    </xsl:if>
1071
                    </xsl:if>
1072
                   <xsl:if test="position()!=last()"><span class="separator"><xsl:text> | </xsl:text></span></xsl:if>
1072
                    <xsl:if test="position()!=last()"><span class="separator"><xsl:text> | </xsl:text></span></xsl:if>
1073
                </xsl:for-each>
1073
                </xsl:for-each>
1074
            </span>
1074
            </span>
1075
        </xsl:if>
1075
        </xsl:if>
1076
1076
1077
        <!-- 520 - Summary, etc. -->
1078
        <xsl:for-each select="marc:datafield[@tag=520]">
1079
            <span class="results_summary summary">
1080
                <span class="label">
1081
                    <xsl:choose>
1082
                        <xsl:when test="@ind1=0"><xsl:text>Subject: </xsl:text></xsl:when>
1083
                        <xsl:when test="@ind1=1"><xsl:text>Review: </xsl:text></xsl:when>
1084
                        <xsl:when test="@ind1=2"><xsl:text>Scope and content: </xsl:text></xsl:when>
1085
                        <xsl:when test="@ind1=3"><xsl:text>Abstract: </xsl:text></xsl:when>
1086
                        <xsl:when test="@ind1=4"><xsl:text>Content advice: </xsl:text></xsl:when>
1087
                        <xsl:otherwise><xsl:text>Summary: </xsl:text></xsl:otherwise>
1088
                    </xsl:choose>
1089
                </span>
1090
                <xsl:call-template name="subfieldSelect">
1091
                    <xsl:with-param name="codes">abc</xsl:with-param>
1092
                </xsl:call-template>
1093
                <xsl:if test="marc:subfield[@code='u']">
1094
                    <xsl:for-each select="marc:subfield[@code='u']">
1095
                        <xsl:text> </xsl:text>
1096
                        <a>
1097
                            <xsl:attribute name="href"><xsl:value-of select="text()"/></xsl:attribute>
1098
                            <xsl:value-of select="text()"/>
1099
                        </a>
1100
                    </xsl:for-each>
1101
                </xsl:if>
1102
            </span>
1103
        </xsl:for-each>
1104
1077
        <!-- Content Warning -->
1105
        <!-- Content Warning -->
1078
        <xsl:variable name="ContentWarningField" select="marc:sysprefs/marc:syspref[@name='ContentWarningField']"/>
1106
        <xsl:variable name="ContentWarningField" select="marc:sysprefs/marc:syspref[@name='ContentWarningField']"/>
1079
        <xsl:if test="marc:datafield[@tag=$ContentWarningField]">
1107
        <xsl:if test="marc:datafield[@tag=$ContentWarningField]">
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slim2OPACDetail.xsl (-15 / +25 lines)
Lines 1283-1303 Link Here
1283
            </span>
1283
            </span>
1284
        </xsl:if>
1284
        </xsl:if>
1285
1285
1286
        <!-- 520 - Summary, etc. -->
1286
        <xsl:for-each select="marc:datafield[@tag=520]">
1287
        <xsl:for-each select="marc:datafield[@tag=520]">
1287
        <span class="results_summary summary"><span class="label">
1288
            <span class="results_summary summary">
1288
        <xsl:choose>
1289
                <span class="label">
1289
          <xsl:when test="@ind1=0"><xsl:text>Subject: </xsl:text></xsl:when>
1290
                    <xsl:choose>
1290
          <xsl:when test="@ind1=1"><xsl:text>Review: </xsl:text></xsl:when>
1291
                        <xsl:when test="@ind1=0"><xsl:text>Subject: </xsl:text></xsl:when>
1291
          <xsl:when test="@ind1=2"><xsl:text>Scope and content: </xsl:text></xsl:when>
1292
                        <xsl:when test="@ind1=1"><xsl:text>Review: </xsl:text></xsl:when>
1292
          <xsl:when test="@ind1=3"><xsl:text>Abstract: </xsl:text></xsl:when>
1293
                        <xsl:when test="@ind1=2"><xsl:text>Scope and content: </xsl:text></xsl:when>
1293
          <xsl:when test="@ind1=4"><xsl:text>Content advice: </xsl:text></xsl:when>
1294
                        <xsl:when test="@ind1=3"><xsl:text>Abstract: </xsl:text></xsl:when>
1294
          <xsl:otherwise><xsl:text>Summary: </xsl:text></xsl:otherwise>
1295
                        <xsl:when test="@ind1=4"><xsl:text>Content advice: </xsl:text></xsl:when>
1295
        </xsl:choose>
1296
                        <xsl:otherwise><xsl:text>Summary: </xsl:text></xsl:otherwise>
1296
        </span>
1297
                    </xsl:choose>
1297
        <xsl:call-template name="subfieldSelect">
1298
                </span>
1298
          <xsl:with-param name="codes">abcu</xsl:with-param>
1299
                <xsl:call-template name="subfieldSelect">
1299
        </xsl:call-template>
1300
                    <xsl:with-param name="codes">abc</xsl:with-param>
1300
        </span>
1301
                </xsl:call-template>
1302
                <xsl:if test="marc:subfield[@code='u']">
1303
                    <xsl:for-each select="marc:subfield[@code='u']">
1304
                        <xsl:text> </xsl:text>
1305
                        <a>
1306
                            <xsl:attribute name="href"><xsl:value-of select="text()"/></xsl:attribute>
1307
                            <xsl:value-of select="text()"/>
1308
                        </a>
1309
                    </xsl:for-each>
1310
                </xsl:if>
1311
            </span>
1301
        </xsl:for-each>
1312
        </xsl:for-each>
1302
1313
1303
        <!-- Content Warning -->
1314
        <!-- Content Warning -->
1304
- 

Return to bug 29471