Bug 14377 [QA Followup] - Add supression message to NORMARC XSLT
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
This commit is contained in:
parent
71ac88a9d5
commit
b4ce86df28
2 changed files with 17 additions and 1 deletions
|
@ -18,6 +18,7 @@
|
|||
<xsl:variable name="OPACBaseURL" select="marc:sysprefs/marc:syspref[@name='OPACBaseURL']"/>
|
||||
<xsl:variable name="SubjectModifier"><xsl:if test="marc:sysprefs/marc:syspref[@name='TraceCompleteSubfields']='1'">,complete-subfield</xsl:if></xsl:variable>
|
||||
<xsl:variable name="TraceSubjectSubdivisions" select="marc:sysprefs/marc:syspref[@name='TraceSubjectSubdivisions']"/>
|
||||
<xsl:variable name="OpacSuppression" select="marc:sysprefs/marc:syspref[@name='OpacSuppression']"/>
|
||||
<xsl:variable name="TracingQuotesLeft">
|
||||
<xsl:choose>
|
||||
<xsl:when test="marc:sysprefs/marc:syspref[@name='UseICU']='1'">{</xsl:when>
|
||||
|
@ -58,6 +59,13 @@
|
|||
</xsl:choose>
|
||||
</xsl:variable>
|
||||
|
||||
<!-- Indicate if record is suppressed in OPAC -->
|
||||
<xsl:if test="$OpacSuppression = 1">
|
||||
<xsl:if test="marc:datafield[@tag=942][marc:subfield[@code='n'] = '1']">
|
||||
<span class="results_summary suppressed_opac">Suppressed in OPAC</span>
|
||||
</xsl:if>
|
||||
</xsl:if>
|
||||
|
||||
<!-- Tittel og ansvarsopplysninger -->
|
||||
<xsl:if test="marc:datafield[@tag=245]">
|
||||
<h1>
|
||||
|
|
|
@ -23,6 +23,7 @@
|
|||
<xsl:variable name="AlternateHoldingsField" select="substring(marc:sysprefs/marc:syspref[@name='AlternateHoldingsField'], 1, 3)"/>
|
||||
<xsl:variable name="AlternateHoldingsSubfields" select="substring(marc:sysprefs/marc:syspref[@name='AlternateHoldingsField'], 4)"/>
|
||||
<xsl:variable name="AlternateHoldingsSeparator" select="marc:sysprefs/marc:syspref[@name='AlternateHoldingsSeparator']"/>
|
||||
<xsl:variable name="OpacSuppression" select="marc:sysprefs/marc:syspref[@name='OpacSuppression']"/>
|
||||
<xsl:variable name="IntranetBiblioDefaultView" select="marc:sysprefs/marc:syspref[@name='IntranetBiblioDefaultView']"/>
|
||||
<xsl:variable name="UseAuthoritiesForTracings" select="marc:sysprefs/marc:syspref[@name='UseAuthoritiesForTracings']"/>
|
||||
<xsl:variable name="leader" select="marc:leader"/>
|
||||
|
@ -244,7 +245,14 @@
|
|||
|
||||
</xsl:variable>
|
||||
|
||||
<a>
|
||||
<!-- Indicate if record is suppressed in OPAC -->
|
||||
<xsl:if test="$OpacSuppression = 1">
|
||||
<xsl:if test="marc:datafield[@tag=942][marc:subfield[@code='n'] = '1']">
|
||||
<span class="results_summary suppressed_opac">Suppressed in OPAC</span>
|
||||
</xsl:if>
|
||||
</xsl:if>
|
||||
|
||||
<a>
|
||||
<xsl:attribute name="href">
|
||||
<xsl:call-template name="buildBiblioDefaultViewURL">
|
||||
<xsl:with-param name="IntranetBiblioDefaultView">
|
||||
|
|
Loading…
Reference in a new issue