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> Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org> Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
This commit is contained in:
parent
515df43af8
commit
7d78c57d97
|
|
@ -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>
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue