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

(-)a/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetDetail.xsl (-15 / +12 lines)
Lines 1717-1736 Link Here
1717
                </span>
1717
                </span>
1718
            </xsl:if>
1718
            </xsl:if>
1719
        </a>
1719
        </a>
1720
1720
        <xsl:if test="marc:subfield[@code=9]">                                         
1721
 <!-- #20362 Direct link to authority records missing in staff detail view -->
1721
        <xsl:text> </xsl:text>                                                         
1722
 <xsl:if test="marc:subfield[@code=9]">                                         
1722
         <a class='authlink'>                                                           
1723
 <xsl:text> </xsl:text>                                                         
1723
         <xsl:attribute name="href">/cgi-bin/koha/authorities/detail.pl?authid=<xsl:value-of select="str:encode-uri(marc:subfield[@code=9], true())"/></xsl:attribute>
1724
 <a class='authlink'>                                                           
1724
         <xsl:element name="img">                                                       
1725
 <xsl:attribute name="href">/cgi-bin/koha/authorities/detail.pl?authid=<xsl:value-of select="str:encode-uri(marc:subfield[@code=9], true())"/></xsl:attribute>
1725
         <xsl:attribute name="src">/intranet-tmpl/prog/img/filefind.png</xsl:attribute> 
1726
 <xsl:element name="img">                                                       
1726
         <xsl:attribute name="alt"></xsl:attribute>                                     
1727
 <xsl:attribute name="src">/intranet-tmpl/prog/img/filefind.png</xsl:attribute> 
1727
         <xsl:attribute name="height">15</xsl:attribute>                                
1728
 <xsl:attribute name="alt"></xsl:attribute>                                     
1728
         <xsl:attribute name="width">15</xsl:attribute>                                 
1729
 <xsl:attribute name="height">15</xsl:attribute>                                
1729
         </xsl:element>                                                                 
1730
 <xsl:attribute name="width">15</xsl:attribute>                                 
1730
         </a>                                                                           
1731
 </xsl:element>                                                                 
1731
        </xsl:if> 
1732
 </a>                                                                           
1733
 </xsl:if> 
1734
        <xsl:choose>
1732
        <xsl:choose>
1735
            <xsl:when test="position()=last()"><xsl:text></xsl:text></xsl:when><xsl:otherwise><span class="separator"><xsl:text> | </xsl:text></span></xsl:otherwise>
1733
            <xsl:when test="position()=last()"><xsl:text></xsl:text></xsl:when><xsl:otherwise><span class="separator"><xsl:text> | </xsl:text></span></xsl:otherwise>
1736
        </xsl:choose>
1734
        </xsl:choose>
1737
- 

Return to bug 20362