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

(-)a/koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slim2OPACDetail.xsl (-19 / +21 lines)
Lines 313-344 Link Here
313
                 <xsl:for-each select="marc:datafield[@tag=260]">
313
                 <xsl:for-each select="marc:datafield[@tag=260]">
314
                     <span property="publisher" typeof="Organization">
314
                     <span property="publisher" typeof="Organization">
315
                     <xsl:if test="marc:subfield[@code='a']">
315
                     <xsl:if test="marc:subfield[@code='a']">
316
                         <span property="location">
316
                        <span class="publisher_place" property="location">
317
                         <xsl:call-template name="subfieldSelect">
317
                            <xsl:call-template name="subfieldSelect">
318
                             <xsl:with-param name="codes">a</xsl:with-param>
318
                                <xsl:with-param name="codes">a</xsl:with-param>
319
                         </xsl:call-template>
319
                            </xsl:call-template>
320
                         </span>
320
                        </span>
321
                     </xsl:if>
321
                     </xsl:if>
322
                     <xsl:text> </xsl:text>
322
                     <xsl:text> </xsl:text>
323
                     <xsl:if test="marc:subfield[@code='b']">
323
                     <xsl:if test="marc:subfield[@code='b']">
324
                     <span property="name"><a><xsl:attribute name="href">/cgi-bin/koha/opac-search.pl?q=Provider:<xsl:value-of select="str:encode-uri(marc:subfield[@code='b'], true())"/></xsl:attribute>
324
                        <span property="name" class="publisher_name">
325
                         <xsl:call-template name="subfieldSelect">
325
                            <a><xsl:attribute name="href">/cgi-bin/koha/opac-search.pl?q=Provider:<xsl:value-of select="str:encode-uri(marc:subfield[@code='b'], true())"/></xsl:attribute>
326
                             <xsl:with-param name="codes">b</xsl:with-param>
326
                                <xsl:call-template name="subfieldSelect">
327
                         </xsl:call-template>
327
                                    <xsl:with-param name="codes">b</xsl:with-param>
328
                     </a></span>
328
                                </xsl:call-template>
329
                            </a>
330
                        </span>
329
                     </xsl:if>
331
                     </xsl:if>
330
                     </span>
332
                     </span>
331
                     <xsl:text> </xsl:text>
333
                     <xsl:text> </xsl:text>
332
                     <xsl:if test="marc:subfield[@code='c' or @code='g']">
334
                     <xsl:if test="marc:subfield[@code='c' or @code='g']">
333
                     <span property="datePublished">
335
                        <span property="datePublished" class="publisher_date">
334
                         <xsl:call-template name="chopPunctuation">
336
                           <xsl:call-template name="chopPunctuation">
335
                           <xsl:with-param name="chopString">
337
                               <xsl:with-param name="chopString">
336
                             <xsl:call-template name="subfieldSelect">
338
                                    <xsl:call-template name="subfieldSelect">
337
                                 <xsl:with-param name="codes">cg</xsl:with-param>
339
                                        <xsl:with-param name="codes">cg</xsl:with-param>
338
                             </xsl:call-template>
340
                                    </xsl:call-template>
339
                            </xsl:with-param>
341
                                </xsl:with-param>
340
                        </xsl:call-template>
342
                            </xsl:call-template>
341
                     </span>
343
                        </span>
342
                     </xsl:if>
344
                     </xsl:if>
343
                     <xsl:choose><xsl:when test="position()=last()"><xsl:text></xsl:text></xsl:when><xsl:otherwise><xsl:text>; </xsl:text></xsl:otherwise></xsl:choose>
345
                     <xsl:choose><xsl:when test="position()=last()"><xsl:text></xsl:text></xsl:when><xsl:otherwise><xsl:text>; </xsl:text></xsl:otherwise></xsl:choose>
344
                 </xsl:for-each>
346
                 </xsl:for-each>
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slim2OPACResults.xsl (-13 / +18 lines)
Lines 1054-1077 Link Here
1054
            <span class="results_summary publisher"><span class="label">Publication details: </span>
1054
            <span class="results_summary publisher"><span class="label">Publication details: </span>
1055
                <xsl:for-each select="marc:datafield[@tag=260]">
1055
                <xsl:for-each select="marc:datafield[@tag=260]">
1056
                    <xsl:if test="marc:subfield[@code='a']">
1056
                    <xsl:if test="marc:subfield[@code='a']">
1057
                        <xsl:call-template name="subfieldSelect">
1057
                        <span class="publisher_place" property="location">
1058
                            <xsl:with-param name="codes">a</xsl:with-param>
1058
                            <xsl:call-template name="subfieldSelect">
1059
                        </xsl:call-template>
1059
                                <xsl:with-param name="codes">a</xsl:with-param>
1060
                            </xsl:call-template>
1061
                        </span>
1060
                    </xsl:if>
1062
                    </xsl:if>
1061
                    <xsl:text> </xsl:text>
1063
                    <xsl:text> </xsl:text>
1062
                    <xsl:if test="marc:subfield[@code='b']">
1064
                    <xsl:if test="marc:subfield[@code='b']">
1063
                        <xsl:call-template name="subfieldSelect">
1065
                        <span property="name" class="publisher_name">
1064
                            <xsl:with-param name="codes">b</xsl:with-param>
1066
                            <xsl:call-template name="subfieldSelect">
1065
                        </xsl:call-template>
1067
                                <xsl:with-param name="codes">b</xsl:with-param>
1068
                            </xsl:call-template>
1069
                        </span>
1066
                    </xsl:if>
1070
                    </xsl:if>
1067
                    <xsl:text> </xsl:text>
1071
                    <xsl:text> </xsl:text>
1068
                    <xsl:call-template name="chopPunctuation">
1072
                    <span property="datePublished" class="publisher_date">
1069
                      <xsl:with-param name="chopString">
1073
                        <xsl:call-template name="chopPunctuation">
1070
                        <xsl:call-template name="subfieldSelect">
1074
                            <xsl:with-param name="chopString">
1071
                            <xsl:with-param name="codes">cg</xsl:with-param>
1075
                                    <xsl:call-template name="subfieldSelect">
1076
                                        <xsl:with-param name="codes">cg</xsl:with-param>
1077
                                    </xsl:call-template>
1078
                            </xsl:with-param>
1072
                        </xsl:call-template>
1079
                        </xsl:call-template>
1073
                       </xsl:with-param>
1080
                    </span>
1074
                    </xsl:call-template>
1075
                    <xsl:choose><xsl:when test="position()=last()"><xsl:text></xsl:text></xsl:when><xsl:otherwise><xsl:text>; </xsl:text></xsl:otherwise></xsl:choose>
1081
                    <xsl:choose><xsl:when test="position()=last()"><xsl:text></xsl:text></xsl:when><xsl:otherwise><xsl:text>; </xsl:text></xsl:otherwise></xsl:choose>
1076
                </xsl:for-each>
1082
                </xsl:for-each>
1077
                <xsl:if test="marc:datafield[@tag=264]">
1083
                <xsl:if test="marc:datafield[@tag=264]">
1078
- 

Return to bug 26825