Bugzilla – Attachment 102122 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.87 KB, created by
Jonathan Druart
on 2020-03-31 11:11:35 UTC
(
hide
)
Description:
Bug 25012: Fix class on OPAC view link in staff detail page
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2020-03-31 11:11:35 UTC
Size:
1.87 KB
patch
obsolete
>From a47c5cee280a5efd2e38150deb5cf849424eedf9 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> > >Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >--- > .../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.20.1
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