Bug 25462: Shelving location should be on a new line in holdings table
authorDavid Roberts <david@koha-ptfs.co.uk>
Tue, 12 May 2020 09:56:28 +0000 (09:56 +0000)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Mon, 4 Jan 2021 14:53:12 +0000 (15:53 +0100)
This patch moves the shelving location a new line after the Home library
in the holdings table.

To test:

1) Assign a shelving location with a long description to an item.
2) See that it displays on the same line as the Home Library in /cgi-bin/koha/catalogue/detail.pl
3) Apply the patch
4) Check that the shelving location is now on a new line

Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt

index 55f13b7..353cdc1 100644 (file)
                     <td class="location">[% UNLESS ( singlebranchmode ) %][% Branches.GetName( item.branchcode ) | html %] [% END %]</td>
                     <td class="homebranch">
                         <span class="homebranchdesc">[% Branches.GetName(item.homebranch) | html %]</span>
+                        <br />
                         <span class="shelvingloc">
 <!--
 If permanent location is defined, show description or code and display current location in parentheses. If not, display current location.