Bugzilla – Attachment 104767 Details for
Bug 25416
Add information about anonymous session for XSLT use
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 25416: Sample usage for testing purposes [DO NOT PUSH]
Bug-25416-Sample-usage-for-testing-purposes-DO-NOT.patch (text/plain), 2.34 KB, created by
Nick Clemens (kidclamp)
on 2020-05-12 12:36:35 UTC
(
hide
)
Description:
Bug 25416: Sample usage for testing purposes [DO NOT PUSH]
Filename:
MIME Type:
Creator:
Nick Clemens (kidclamp)
Created:
2020-05-12 12:36:35 UTC
Size:
2.34 KB
patch
obsolete
>From ca41b6cbc3d510dc5cc68522084ec036481a1e0f Mon Sep 17 00:00:00 2001 >From: Tomas Cohen Arazi <tomascohen@theke.io> >Date: Thu, 7 May 2020 14:39:22 -0300 >Subject: [PATCH] Bug 25416: Sample usage for testing purposes [DO NOT PUSH] > >Signed-off-by: Victor Grousset/tuxayo <victor@tuxayo.net> > >Signed-off-by: Nick Clemens <nick@bywatersolutions.com> > >https://bugs.koha-community.org/show_bug.cgi?id=24516 >--- > koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slim2OPACDetail.xsl | 7 +++++++ > koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slim2OPACResults.xsl | 8 ++++++++ > 2 files changed, 15 insertions(+) > >diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slim2OPACDetail.xsl b/koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slim2OPACDetail.xsl >index 656c56bc30..afa02b622c 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slim2OPACDetail.xsl >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slim2OPACDetail.xsl >@@ -1001,6 +1001,13 @@ > </span> > </xsl:if> > >+ <xsl:variable name="anonymous_session" select="marc:variables/marc:variable[@name='anonymous_session']" /> >+ <span>Anonymous session: >+ <xsl:choose> >+ <xsl:when test="$anonymous_session = '0'">No</xsl:when> >+ <xsl:otherwise>Yes</xsl:otherwise> >+ </xsl:choose> >+ </span> > > <!-- Image processing code added here, takes precedence over text links including y3z text --> > <xsl:if test="marc:datafield[@tag=856]"> >diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slim2OPACResults.xsl b/koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slim2OPACResults.xsl >index 339f058b70..63670a61be 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slim2OPACResults.xsl >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slim2OPACResults.xsl >@@ -1310,6 +1310,14 @@ > </xsl:when> > </xsl:choose> > >+ <xsl:variable name="anonymous_session" select="marc:variables/marc:variable[@name='anonymous_session']" /> >+ <br/><span>Anonymous session: >+ <xsl:choose> >+ <xsl:when test="$anonymous_session = '0'">No</xsl:when> >+ <xsl:otherwise>Yes</xsl:otherwise> >+ </xsl:choose> >+ </span> >+ > <xsl:choose> > <xsl:when test="count(key('item-by-status', 'reference'))>0"> > <span class="available reference"> >-- >2.11.0
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 25416
:
104533
|
104534
|
104689
|
104694
|
104695
|
104718
|
104719
|
104720
|
104764
| 104767 |
104768
|
104769
|
104770
|
105160
|
105161