Bugzilla – Attachment 187499 Details for
Bug 30148
Pipe separated contents are hard to customize (staff interface)
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 30148: (follow-up) Apply CSS-based separators to online resources (856)
Bug-30148-follow-up-Apply-CSS-based-separators-to-.patch (text/plain), 2.23 KB, created by
Lucas Gass (lukeg)
on 2025-10-06 20:15:26 UTC
(
hide
)
Description:
Bug 30148: (follow-up) Apply CSS-based separators to online resources (856)
Filename:
MIME Type:
Creator:
Lucas Gass (lukeg)
Created:
2025-10-06 20:15:26 UTC
Size:
2.23 KB
patch
obsolete
>From f7c88638d1f39f107e71d713bfbb6d0da94576b5 Mon Sep 17 00:00:00 2001 >From: =?UTF-8?q?Tom=C3=A1s=20Cohen=20Arazi?= <tomascohen@theke.io> >Date: Mon, 6 Oct 2025 15:13:17 -0300 >Subject: [PATCH] Bug 30148: (follow-up) Apply CSS-based separators to online > resources (856) > >Extends the CSS-based separator approach to field 856 (Electronic Location >and Access) which was still using hardcoded pipe separators. > >This completes the conversion of all major repeatable fields in the staff >interface to use consistent CSS-based separators, matching the OPAC >implementation from Bug 27613. > >Signed-off-by: Lucas Gass <lucas@bywatersolutions.com> >--- > .../prog/en/xslt/MARC21slim2intranetDetail.xsl | 10 ++++------ > 1 file changed, 4 insertions(+), 6 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetDetail.xsl b/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetDetail.xsl >index 681ebedb3f9..2f718cf6ad1 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetDetail.xsl >+++ b/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetDetail.xsl >@@ -963,9 +963,10 @@ > <xsl:if test="marc:datafield[@tag=856]"> > <xsl:if test="marc:datafield[@tag=856]/marc:subfield[@code='u']"> > <span class="results_summary online_resources"><span class="label">Online resources: </span> >+ <ul class="resource_list"> > <xsl:for-each select="marc:datafield[@tag=856 and marc:subfield[@code='u']]"> > <xsl:variable name="SubqText"><xsl:value-of select="marc:subfield[@code='q']"/></xsl:variable> >- <a> >+ <li><a> > <xsl:attribute name="href"> > <xsl:call-template name="AddMissingProtocol"> > <xsl:with-param name="resourceLocation" select="marc:subfield[@code='u']"/> >@@ -994,13 +995,10 @@ > </xsl:choose> > </xsl:when> > </xsl:choose> >- </a> >- <xsl:choose> >- <xsl:when test="position()=last()"><xsl:text> </xsl:text></xsl:when> >- <xsl:otherwise> | </xsl:otherwise> >- </xsl:choose> >+ </a></li> > > </xsl:for-each> >+ </ul> > </span> > </xsl:if> > </xsl:if> >-- >2.39.5
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 30148
:
187486
|
187487
|
187488
|
187490
|
187491
|
187492
|
187497
|
187498
| 187499