From 3cd1e14b7071f0c75067cb028356db67bc84b021 Mon Sep 17 00:00:00 2001 From: Kyle M Hall <kyle@bywatersolutions.com> Date: Thu, 10 Dec 2015 12:59:38 +0000 Subject: [PATCH] Bug 14377 [QA Followup] - Remove biblionumber, move message to below title for search results --- .../intranet-tmpl/prog/en/xslt/MARC21slim2intranetDetail.xsl | 2 +- .../prog/en/xslt/MARC21slim2intranetResults.xsl | 12 ++++++------ 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetDetail.xsl b/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetDetail.xsl index 6a46267..f8f87be 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetDetail.xsl +++ b/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetDetail.xsl @@ -93,7 +93,7 @@ <!-- Indicate if record is suppressed in OPAC --> <xsl:variable name="Field942_1_True_Value" select="marc:OtherVars/marc:OtherVar[@name='Field942_1_True_Value']"/> <xsl:if test="marc:datafield[@tag=942][marc:subfield[@code='n'] = $Field942_1_True_Value]"> - <span class="results_summary suppressed_opac"><xsl:value-of select="concat('#',marc:datafield[@tag=999]/marc:subfield[@code='c'])"/> - Suppressed in OPAC</span> + <span class="results_summary suppressed_opac">Suppressed in OPAC</span> </xsl:if> <!-- Title Statement --> diff --git a/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetResults.xsl b/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetResults.xsl index e3513c1..6975b88 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetResults.xsl +++ b/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetResults.xsl @@ -281,12 +281,6 @@ --> </xsl:variable> - <!-- Indicate if record is suppressed in OPAC --> - <xsl:variable name="Field942_1_True_Value" select="marc:OtherVars/marc:OtherVar[@name='Field942_1_True_Value']"/> - <xsl:if test="marc:datafield[@tag=942][marc:subfield[@code='n'] = $Field942_1_True_Value]"> - <span class="results_summary suppressed_opac"><xsl:value-of select="concat('#',marc:datafield[@tag=999]/marc:subfield[@code='c'])"/> - Suppressed in OPAC</span> - </xsl:if> - <!-- Title Statement: Alternate Graphic Representation (MARC 880) --> <xsl:if test="$display880"> <xsl:call-template name="m880Select"> @@ -334,6 +328,12 @@ </xsl:if> </a> + <!-- Indicate if record is suppressed in OPAC --> + <xsl:variable name="Field942_1_True_Value" select="marc:OtherVars/marc:OtherVar[@name='Field942_1_True_Value']"/> + <xsl:if test="marc:datafield[@tag=942][marc:subfield[@code='n'] = $Field942_1_True_Value]"> + <span class="results_summary suppressed_opac">Suppressed in OPAC</span> + </xsl:if> + <!-- Author Statement: Alternate Graphic Representation (MARC 880) --> <xsl:if test="$display880"> <xsl:call-template name="m880Select"> -- 2.7.0