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

(-)a/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetDetail.xsl (-2 / +14 lines)
Lines 1717-1728 Link Here
1717
                </span>
1717
                </span>
1718
            </xsl:if>
1718
            </xsl:if>
1719
        </a>
1719
        </a>
1720
1721
 <!-- #20362 Direct link to authority records missing in staff detail view -->
1722
 <xsl:if test="marc:subfield[@code=9]">                                         
1723
 <xsl:text> </xsl:text>                                                         
1724
 <a class='authlink'>                                                           
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>
1726
 <xsl:element name="img">                                                       
1727
 <xsl:attribute name="src">/intranet-tmpl/prog/img/filefind.png</xsl:attribute> 
1728
 <xsl:attribute name="alt"></xsl:attribute>                                     
1729
 <xsl:attribute name="height">15</xsl:attribute>                                
1730
 <xsl:attribute name="width">15</xsl:attribute>                                 
1731
 </xsl:element>                                                                 
1732
 </a>                                                                           
1733
 </xsl:if> 
1720
        <xsl:choose>
1734
        <xsl:choose>
1721
            <xsl:when test="position()=last()"><xsl:text></xsl:text></xsl:when><xsl:otherwise><span class="separator"><xsl:text> | </xsl:text></span></xsl:otherwise>
1735
            <xsl:when test="position()=last()"><xsl:text></xsl:text></xsl:when><xsl:otherwise><span class="separator"><xsl:text> | </xsl:text></span></xsl:otherwise>
1722
        </xsl:choose>
1736
        </xsl:choose>
1723
        </xsl:for-each>
1737
        </xsl:for-each>
1724
        </h5>
1738
        </h5>
1725
1726
	</xsl:if>
1739
	</xsl:if>
1727
    </xsl:template>
1740
    </xsl:template>
1728
1741
1729
- 

Return to bug 20362