Bug 21058: Added HTML classes in MARC21slim2_Detail.xsl
This is a very small patch. I've simply added the following classes to their respective spans in the detail XSLs for both interfaces. - in_note (773$n) - preceeding_entry_note (780$n) - succeeding_entry_note (785$n) To test: 1. Apply patch 2. Open details page of notice with a 773$n, 780$n or 785$n field 3. Inspect element. The class should be visible. Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de> Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
This commit is contained in:
parent
2694e53b20
commit
b65fc8e176
2 changed files with 6 additions and 6 deletions
|
@ -1072,7 +1072,7 @@
|
|||
</span>
|
||||
|
||||
<xsl:if test="marc:subfield[@code='n']">
|
||||
<span class="results_summary"><xsl:value-of select="marc:subfield[@code='n']"/></span>
|
||||
<span class="results_summary in_note"><xsl:value-of select="marc:subfield[@code='n']"/></span>
|
||||
</xsl:if>
|
||||
|
||||
</xsl:if>
|
||||
|
@ -1222,7 +1222,7 @@
|
|||
</span>
|
||||
|
||||
<xsl:if test="marc:subfield[@code='n']">
|
||||
<span class="results_summary"><xsl:value-of select="marc:subfield[@code='n']"/></span>
|
||||
<span class="results_summary preceeding_entry_note"><xsl:value-of select="marc:subfield[@code='n']"/></span>
|
||||
</xsl:if>
|
||||
|
||||
</xsl:if>
|
||||
|
@ -1287,7 +1287,7 @@
|
|||
</xsl:if>
|
||||
|
||||
<xsl:if test="$OPACBaseURL!=''">
|
||||
<span class="results_summary"><span class="label">OPAC view: </span>
|
||||
<span class="results_summary succeeding_entry_note"><span class="label">OPAC view: </span>
|
||||
<a><xsl:attribute name="href"><xsl:value-of select="$OPACBaseURL"/>/cgi-bin/koha/opac-detail.pl?biblionumber=<xsl:value-of select="str:encode-uri(marc:datafield[@tag=999]/marc:subfield[@code='c'], true())"/></xsl:attribute><xsl:attribute name="target">_blank</xsl:attribute>Open in new window</a>.
|
||||
</span>
|
||||
</xsl:if>
|
||||
|
|
|
@ -1174,7 +1174,7 @@
|
|||
</span>
|
||||
|
||||
<xsl:if test="marc:subfield[@code='n']">
|
||||
<span class="results_summary"><xsl:value-of select="marc:subfield[@code='n']"/></span>
|
||||
<span class="results_summary in_note"><xsl:value-of select="marc:subfield[@code='n']"/></span>
|
||||
</xsl:if>
|
||||
|
||||
</xsl:if>
|
||||
|
@ -1351,7 +1351,7 @@
|
|||
</span>
|
||||
|
||||
<xsl:if test="marc:subfield[@code='n']">
|
||||
<span class="results_summary"><xsl:value-of select="marc:subfield[@code='n']"/></span>
|
||||
<span class="results_summary preceeding_entry_note"><xsl:value-of select="marc:subfield[@code='n']"/></span>
|
||||
</xsl:if>
|
||||
|
||||
</xsl:if>
|
||||
|
@ -1415,7 +1415,7 @@
|
|||
</span>
|
||||
|
||||
<xsl:if test="marc:subfield[@code='n']">
|
||||
<span class="results_summary"><xsl:value-of select="marc:subfield[@code='n']"/></span>
|
||||
<span class="results_summary succeeding_entry_note"><xsl:value-of select="marc:subfield[@code='n']"/></span>
|
||||
</xsl:if>
|
||||
|
||||
</xsl:if>
|
||||
|
|
Loading…
Reference in a new issue