Bug 19022: inventory location and author display

In inventory result page :
Location is displayed after branch without any difference.
Author is displayed into a paragraph making row hight.

This patch adds for location a span with class like in catalogue detail page, and changes author to be on same line in order to have a more compact display for this table that may be huge.

Test plan :
- Perform inventory with a barcode file
- Look at result
=> you see localtion in a new line after library and in italic
=> you see author after title on same line with "by" separator

Signed-off-by: Owen Leonard <oleonard@myacpl.org>

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
This commit is contained in:
Fridolin Somers 2017-08-02 10:43:44 +02:00 committed by Jonathan Druart
parent b95f5c28aa
commit dc8c70b745

View file

@ -303,11 +303,13 @@ $(document).ready(function(){
<td>[% result.itemcallnumber | html %]</td>
<td>
[% Branches.GetName( result.homebranch ) %]
[% result.location | html %]
<span class="shelvingloc">[% result.location | html %]</span>
</td>
<td>
<a href="/cgi-bin/koha/catalogue/MARCdetail.pl?biblionumber=[% result.biblionumber %]" class="openWin">[% result.title | html %]</a>
<p>[% result.author | html %]</p>
[% IF ( result.author ) %]
by <span class="author">[% result.author | html %]</span>
[% END %]
</td>
<td>
[% result.notforloan | html %]