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

(-)a/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetDetail.xsl (-19 / +18 lines)
Lines 1010-1034 Link Here
1010
        </xsl:if>
1010
        </xsl:if>
1011
1011
1012
         <!-- 583 -->
1012
         <!-- 583 -->
1013
             <xsl:if test="marc:datafield[@tag=583]">
1013
         <xsl:if test="marc:datafield[@tag=583]">
1014
                 <xsl:for-each select="marc:datafield[@tag=583]">
1014
            <span class="results_summary actionnote">
1015
                    <xsl:if test="@ind1=1 or @ind1=' '">
1015
                <span class="label">Action note: </span>
1016
                      <span class="results_summary actionnote">
1016
                <xsl:for-each select="marc:datafield[@tag=583]">
1017
                          <span class="label">Action note: </span>
1017
                    <xsl:choose>
1018
                             <xsl:choose>
1018
                        <xsl:when test="marc:subfield[@code='z']">
1019
                                 <xsl:when test="marc:subfield[@code='z']">
1019
                            <xsl:value-of select="marc:subfield[@code='z']"/><xsl:text> </xsl:text>
1020
                                     <xsl:value-of select="marc:subfield[@code='z']"/>
1020
                        </xsl:when>
1021
                                 </xsl:when>
1021
                        <xsl:otherwise>
1022
                                 <xsl:otherwise>
1022
                            <xsl:call-template name="subfieldSelect">
1023
                                     <xsl:call-template name="subfieldSelect">
1023
                                <xsl:with-param name="codes">abcdefgijklnou</xsl:with-param>
1024
                                         <xsl:with-param name="codes">abcdefgijklnou</xsl:with-param>
1024
                            </xsl:call-template>
1025
                                     </xsl:call-template>
1025
                        </xsl:otherwise>
1026
                                 </xsl:otherwise>
1026
                    </xsl:choose>
1027
                             </xsl:choose>
1027
                    <xsl:if test="position()!=last()"><span class="separator"><xsl:text> | </xsl:text></span></xsl:if>
1028
                         </span>
1028
                </xsl:for-each>
1029
                     </xsl:if>
1029
            </span>
1030
                 </xsl:for-each>
1030
         </xsl:if>
1031
             </xsl:if>
1032
1031
1033
        <!-- 508 -->
1032
        <!-- 508 -->
1034
        <xsl:if test="marc:datafield[@tag=508]">
1033
        <xsl:if test="marc:datafield[@tag=508]">
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slim2OPACDetail.xsl (-16 / +14 lines)
Lines 1082-1105 Link Here
1082
        </xsl:if>
1082
        </xsl:if>
1083
1083
1084
        <!-- 583 -->
1084
        <!-- 583 -->
1085
        <xsl:if test="marc:datafield[@tag=583]">
1085
        <xsl:if test="marc:datafield[@tag=583 and not(@ind1=0)]">
1086
        <xsl:for-each select="marc:datafield[@tag=583]">
1087
            <xsl:if test="@ind1=1 or @ind1=' '">
1088
            <span class="results_summary actionnote">
1086
            <span class="results_summary actionnote">
1089
                <span class="label">Action note: </span>
1087
                <span class="label">Action note: </span>
1090
                <xsl:choose>
1088
                <xsl:for-each select="marc:datafield[@tag=583 and not(@ind1=0)]">
1091
                <xsl:when test="marc:subfield[@code='z']">
1089
                    <xsl:choose>
1092
                    <xsl:value-of select="marc:subfield[@code='z']"/>
1090
                    <xsl:when test="marc:subfield[@code='z']">
1093
                </xsl:when>
1091
                        <xsl:value-of select="marc:subfield[@code='z']"/><xsl:text> </xsl:text>
1094
                <xsl:otherwise>
1092
                    </xsl:when>
1095
                    <xsl:call-template name="subfieldSelect">
1093
                    <xsl:otherwise>
1096
                        <xsl:with-param name="codes">abcdefgijklnou</xsl:with-param>
1094
                        <xsl:call-template name="subfieldSelect">
1097
                    </xsl:call-template>
1095
                            <xsl:with-param name="codes">abcdefgijklnou</xsl:with-param>
1098
                </xsl:otherwise>
1096
                        </xsl:call-template>
1099
                </xsl:choose>
1097
                    </xsl:otherwise>
1098
                    </xsl:choose>
1099
                    <xsl:if test="position()!=last()"><span class="separator"><xsl:text> | </xsl:text></span></xsl:if>
1100
                </xsl:for-each>
1100
            </span>
1101
            </span>
1101
            </xsl:if>
1102
        </xsl:for-each>
1103
        </xsl:if>
1102
        </xsl:if>
1104
1103
1105
        <!-- 508 -->
1104
        <!-- 508 -->
1106
- 

Return to bug 17938