Bugzilla – Attachment 43026 Details for
Bug 14377
Indicate that a record is suppressed in staff client
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug #14377 Show "BIBNO - Suppressed in OPAC" for records with 942$n=1.
Bug-14377-Show-BIBNO---Suppressed-in-OPAC-for-reco.patch (text/plain), 2.39 KB, created by
Nick Clemens (kidclamp)
on 2015-10-01 18:29:05 UTC
(
hide
)
Description:
Bug #14377 Show "BIBNO - Suppressed in OPAC" for records with 942$n=1.
Filename:
MIME Type:
Creator:
Nick Clemens (kidclamp)
Created:
2015-10-01 18:29:05 UTC
Size:
2.39 KB
patch
obsolete
>From b0bc72a5412625366fb0895195693cce23ea7c0c Mon Sep 17 00:00:00 2001 >From: Winona Salesky <wsalesky@gmail.com> >Date: Fri, 18 Sep 2015 10:57:33 -0400 >Subject: [PATCH] Bug #14377 Show "BIBNO - Suppressed in OPAC" for records > with 942$n=1. > >Includes class="suppressed_opac" for library specific styles. >Suggested css: .suppressed_opac { color:red; font-size:1.25em; font-weight:bold; float:right; margin-right:2em; clear:none; } > >Signed-off-by: Nick Clemens <nick@quecheelibrary.org> >--- > .../intranet-tmpl/prog/en/xslt/MARC21slim2intranetDetail.xsl | 5 +++++ > .../intranet-tmpl/prog/en/xslt/MARC21slim2intranetResults.xsl | 5 +++++ > 2 files changed, 10 insertions(+) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetDetail.xsl b/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetDetail.xsl >index bda73df..88f7309 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetDetail.xsl >+++ b/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetDetail.xsl >@@ -90,6 +90,11 @@ > </xsl:choose> > </xsl:variable> > >+ <!-- Indicate if record is suppressed in OPAC --> >+ <xsl:if test="marc:datafield[@tag=942][marc:subfield[@code='n'] = '1']"> >+ <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"> >diff --git a/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetResults.xsl b/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetResults.xsl >index e913ce5..9a639ee 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetResults.xsl >+++ b/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetResults.xsl >@@ -281,6 +281,11 @@ > --> > </xsl:variable> > >+ <!-- Indicate if record is suppressed in OPAC --> >+ <xsl:if test="marc:datafield[@tag=942][marc:subfield[@code='n'] = '1']"> >+ <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"> >-- >1.7.10.4
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 14377
:
42424
|
42436
|
42709
|
43026
|
45564
|
45565
|
45566
|
45568
|
46900
|
46993
|
48657
|
48658
|
48659
|
48660
|
48661
|
49718
|
49719
|
49720
|
49721
|
49722
|
50360
|
50361
|
50720
|
50721
|
50839
|
50842
|
50843
|
50844
|
50881
|
50882
|
50883
|
50884
|
50885
|
50987