Bugzilla – Attachment 102045 Details for
Bug 25012
Fix class on OPAC view link in staff detail page
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 25012: Fix class on OPAC view link in staff detail page
Bug-25012-Fix-class-on-OPAC-view-link-in-staff-det.patch (text/plain), 1.80 KB, created by
David Roberts
on 2020-03-29 02:00:17 UTC
(
hide
)
Description:
Bug 25012: Fix class on OPAC view link in staff detail page
Filename:
MIME Type:
Creator:
David Roberts
Created:
2020-03-29 02:00:17 UTC
Size:
1.80 KB
patch
obsolete
>From 21b01527aef5632dcdcd7acd77f44fd39529863f Mon Sep 17 00:00:00 2001 >From: Katrin Fischer <katrin.fischer.83@web.de> >Date: Sat, 28 Mar 2020 00:46:55 +0100 >Subject: [PATCH] Bug 25012: Fix class on OPAC view link in staff detail page > >Probably a copy & paste error: the OPAC view link on the staff >detail page currently has the class succeeding_entry_note. > >This patch changes it to opac_view to allow for independent >styling of the link. > >Note: The link will only be visible when OPACBaseURL is set. > >To test: >- Use the element inspector or check the source code for > the class used on the OPAC view link on the staff detail page >- Apply patch >- Repeat and verify that the class has changed to opac_view > >Signed-off-by: David Roberts <david@koha-ptfs.co.uk> >--- > koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetDetail.xsl | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetDetail.xsl b/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetDetail.xsl >index d44322d6ff..16775d89b1 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetDetail.xsl >+++ b/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetDetail.xsl >@@ -1306,7 +1306,7 @@ > </xsl:if> > > <xsl:if test="$OPACBaseURL!=''"> >- <span class="results_summary succeeding_entry_note"><span class="label">OPAC view: </span> >+ <span class="results_summary opac_view"><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> >-- >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 25012
:
102026
|
102045
|
102122