Bug 8357: UNIMARCslim2OPACDetail.xsl, title without class and too links to views
Signed-off-by: Zeno Tajoli <tajoli@cilea.it>
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
(cherry picked from commit df9c394709)
Signed-off-by: Jared Camins-Esakov <jcamins@cpbibliography.com>
This commit is contained in:
parent
64bff70cd9
commit
d25ced28fb
|
|
@ -2,7 +2,10 @@
|
|||
|
||||
<!DOCTYPE stylesheet [<!ENTITY nbsp " " >]>
|
||||
|
||||
<xsl:stylesheet version="1.0" xmlns:marc="http://www.loc.gov/MARC21/slim" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
|
||||
<xsl:stylesheet version="1.0"
|
||||
xmlns:marc="http://www.loc.gov/MARC21/slim"
|
||||
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
|
||||
exclude-result-prefixes="marc items">
|
||||
|
||||
<xsl:template name="datafield">
|
||||
<xsl:param name="tag"/>
|
||||
|
|
|
|||
|
|
@ -21,7 +21,6 @@
|
|||
<xsl:variable name="DisplayOPACiconsXSLT" select="marc:sysprefs/marc:syspref[@name='DisplayOPACiconsXSLT']"/>
|
||||
<xsl:variable name="OPACURLOpenInNewWindow" select="marc:sysprefs/marc:syspref[@name='OPACURLOpenInNewWindow']"/>
|
||||
<xsl:variable name="URLLinkText" select="marc:sysprefs/marc:syspref[@name='URLLinkText']"/>
|
||||
<xsl:variable name="ShowISBD" select="marc:sysprefs/marc:syspref[@name='viewISBD']"/>
|
||||
|
||||
<xsl:variable name="SubjectModifier"><xsl:if test="marc:sysprefs/marc:syspref[@name='TraceCompleteSubfields']='1'">,complete-subfield</xsl:if></xsl:variable>
|
||||
<xsl:variable name="UseAuthoritiesForTracings" select="marc:sysprefs/marc:syspref[@name='UseAuthoritiesForTracings']"/>
|
||||
|
|
|
|||
|
|
@ -22,11 +22,10 @@
|
|||
<xsl:variable name="DisplayOPACiconsXSLT" select="marc:sysprefs/marc:syspref[@name='DisplayOPACiconsXSLT']"/>
|
||||
<xsl:variable name="OPACURLOpenInNewWindow" select="marc:sysprefs/marc:syspref[@name='OPACURLOpenInNewWindow']"/>
|
||||
<xsl:variable name="URLLinkText" select="marc:sysprefs/marc:syspref[@name='URLLinkText']"/>
|
||||
<xsl:variable name="ShowISBD" select="marc:sysprefs/marc:syspref[@name='viewISBD']"/>
|
||||
|
||||
<xsl:if test="marc:datafield[@tag=200]">
|
||||
<xsl:for-each select="marc:datafield[@tag=200]">
|
||||
<h1>
|
||||
<h1 class="title">
|
||||
<xsl:call-template name="addClassRtl" />
|
||||
<xsl:for-each select="marc:subfield">
|
||||
<xsl:choose>
|
||||
|
|
@ -67,23 +66,6 @@
|
|||
</xsl:for-each>
|
||||
</xsl:if>
|
||||
|
||||
<div id="views">
|
||||
<span class="view">
|
||||
<span id="Normalview">Normal View</span>
|
||||
</span>
|
||||
<span class="view">
|
||||
<a id="MARCviewPop" href="/cgi-bin/koha/opac-showmarc.pl?id={marc:datafield[@tag=090]/marc:subfield[@code='a']}" title="MARC" rel="gb_page_center[600,500]">MARC View</a>
|
||||
</span>
|
||||
<span class="view">
|
||||
<a id="MARCview" href="/cgi-bin/koha/opac-MARCdetail.pl?biblionumber={marc:datafield[@tag=090]/marc:subfield[@code='a']}" title="MARC">Expanded MARC View</a>
|
||||
</span>
|
||||
<xsl:if test="$ShowISBD!='0'">
|
||||
<span class="view">
|
||||
<a id="ISBDview" href="/cgi-bin/koha/opac-ISBDdetail.pl?biblionumber={marc:datafield[@tag=090]/marc:subfield[@code='a']}">Card View (ISBD)</a>
|
||||
</span>
|
||||
</xsl:if>
|
||||
</div>
|
||||
|
||||
<xsl:call-template name="tag_title">
|
||||
<xsl:with-param name="tag">454</xsl:with-param>
|
||||
<xsl:with-param name="label">Translation of</xsl:with-param>
|
||||
|
|
|
|||
Loading…
Reference in New Issue