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

(-)a/koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slim2OPACDetail.xsl (-10 / +25 lines)
Lines 326-338 Link Here
326
             <span class="results_summary publisher"><span class="label">Publication details: </span>
326
             <span class="results_summary publisher"><span class="label">Publication details: </span>
327
                 <xsl:for-each select="marc:datafield[@tag=260]">
327
                 <xsl:for-each select="marc:datafield[@tag=260]">
328
                     <span property="publisher" typeof="Organization">
328
                     <span property="publisher" typeof="Organization">
329
                     <xsl:if test="marc:subfield[@code='a']">
329
                         <xsl:for-each select="marc:subfield[@code='a']">
330
                        <span class="publisher_place" property="location">
330
                            <span class="publisher_place" property="location">
331
                            <xsl:call-template name="subfieldSelect">
331
                                <a>
332
                                <xsl:with-param name="codes">a</xsl:with-param>
332
                                    <xsl:attribute name="href">/cgi-bin/koha/opac-search.pl?q=pl:"<xsl:value-of select="str:encode-uri(., true())"/>"</xsl:attribute>
333
                            </xsl:call-template>
333
                                    <xsl:value-of select="."/>
334
                        </span>
334
                                </a>
335
                     </xsl:if>
335
                            </span>
336
                            <xsl:if test="position() != last()">
337
                                <xsl:text> </xsl:text>
338
                            </xsl:if>
339
                         </xsl:for-each>
336
                     <xsl:text> </xsl:text>
340
                     <xsl:text> </xsl:text>
337
                     <xsl:if test="marc:subfield[@code='b']">
341
                     <xsl:if test="marc:subfield[@code='b']">
338
                        <span property="name" class="publisher_name">
342
                        <span property="name" class="publisher_name">
Lines 345-356 Link Here
345
                     </xsl:if>
349
                     </xsl:if>
346
                     </span>
350
                     </span>
347
                     <xsl:text> </xsl:text>
351
                     <xsl:text> </xsl:text>
348
                     <xsl:if test="marc:subfield[@code='c' or @code='g']">
352
                     <xsl:for-each select="marc:subfield[@code='c']">
353
                         <span property="datePublished" class="publisher_date">
354
                             <a>
355
                                 <xsl:attribute name="href">/cgi-bin/koha/opac-search.pl?q=copydate:"<xsl:value-of select="str:encode-uri(., true())"/>"</xsl:attribute>
356
                                 <xsl:value-of select="."/>
357
                             </a>
358
                             <xsl:if test="position() != last()">
359
                                 <xsl:text> </xsl:text>
360
                             </xsl:if>
361
                         </span>
362
                     </xsl:for-each>
363
                     <xsl:text> </xsl:text>
364
                     <xsl:if test="marc:subfield[@code='g']">
349
                        <span property="datePublished" class="publisher_date">
365
                        <span property="datePublished" class="publisher_date">
350
                           <xsl:call-template name="chopPunctuation">
366
                           <xsl:call-template name="chopPunctuation">
351
                               <xsl:with-param name="chopString">
367
                               <xsl:with-param name="chopString">
352
                                    <xsl:call-template name="subfieldSelect">
368
                                    <xsl:call-template name="subfieldSelect">
353
                                        <xsl:with-param name="codes">cg</xsl:with-param>
369
                                        <xsl:with-param name="codes">g</xsl:with-param>
354
                                    </xsl:call-template>
370
                                    </xsl:call-template>
355
                                </xsl:with-param>
371
                                </xsl:with-param>
356
                            </xsl:call-template>
372
                            </xsl:call-template>
357
- 

Return to bug 27850