From 5e4ee1d828930694a15fb52aabe9246b9cc23231 Mon Sep 17 00:00:00 2001 From: Fridolin Somers Date: Wed, 2 Aug 2017 10:43:44 +0200 Subject: [PATCH] [SIGNED-OFF] 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 --- koha-tmpl/intranet-tmpl/prog/en/modules/tools/inventory.tt | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/inventory.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/inventory.tt index 6fcbff8..13359ad 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/inventory.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/inventory.tt @@ -303,11 +303,13 @@ $(document).ready(function(){ [% result.itemcallnumber | html %] [% Branches.GetName( result.homebranch ) %] - [% result.location | html %] + [% result.location | html %] [% result.title | html %] -

[% result.author | html %]

+ [% IF ( result.author ) %] + by [% result.author | html %] + [% END %] [% result.notforloan | html %] -- 2.1.4