Bugzilla – Attachment 98830 Details for
Bug 17221
Orphan comma in shelf browser
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 17221: Remove orphan commas in shelf browser
Bug-17221-Remove-orphan-commas-in-shelf-browser.patch (text/plain), 1.94 KB, created by
Owen Leonard
on 2020-02-13 14:05:38 UTC
(
hide
)
Description:
Bug 17221: Remove orphan commas in shelf browser
Filename:
MIME Type:
Creator:
Owen Leonard
Created:
2020-02-13 14:05:38 UTC
Size:
1.94 KB
patch
obsolete
>From 797395f2daa544f7a16f3d1081af7bb9fc402609 Mon Sep 17 00:00:00 2001 >From: phette23 <phette23@gmail.com> >Date: Sun, 12 Jan 2020 11:32:53 +0100 >Subject: [PATCH] Bug 17221: Remove orphan commas in shelf browser > >This patch adds more conditions to the shelf browser template >such that the displayed text reads as a proper list no matter >what combination of system preferences are utilized > >Sponsored-by: California College of the Arts > >Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de> > >Signed-off-by: Owen Leonard <oleonard@myacpl.org> >--- > koha-tmpl/opac-tmpl/bootstrap/en/includes/shelfbrowser.inc | 6 ++++-- > 1 file changed, 4 insertions(+), 2 deletions(-) > >diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/includes/shelfbrowser.inc b/koha-tmpl/opac-tmpl/bootstrap/en/includes/shelfbrowser.inc >index 56673513f8e..6dc1e662200 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/includes/shelfbrowser.inc >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/includes/shelfbrowser.inc >@@ -3,8 +3,10 @@ > <div id="shelfbrowser"> > <h5 style="text-align: center;"> > [% IF ( starting_homebranch ) %]Browsing [% starting_homebranch | html %] Shelves[% END %] >- [% IF ( starting_location ) %], Shelving location: [% starting_location | html %][% END %] >- [% IF ( starting_ccode ) %], Collection code: [% starting_ccode | html %][% END %] >+ [% IF ( starting_homebranch && ( starting_location || starting_ccode ) ) %], [% END %] >+ [% IF ( starting_location ) %]Shelving location: [% starting_location | html %][% END %] >+ [% IF ( ( starting_homebranch || starting_location ) && starting_ccode ) %], [% END %] >+ [% IF ( starting_ccode ) %]Collection code: [% starting_ccode | html %][% END %] > <a style="font-size: 75%;" href="/cgi-bin/koha/opac-detail.pl?biblionumber=[% biblionumber | html %]" class="close_shelf" >Close shelf browser</a> > </h5> > >-- >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 17221
:
54997
|
54998
|
97267
|
97268
|
98830
|
98831
|
99188
|
99189