From f6c5e5c16a57b7990e26e48bec7d4afa7a08d7c4 Mon Sep 17 00:00:00 2001 From: Hector Castro Date: Wed, 2 Dec 2015 10:56:25 -0600 Subject: [PATCH] Bug 15172: (follow-up)Serial enumchron/sequence not visible when returning/checking in Items MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Display br and span tag only if the value enumchron exists. To test -Apply patches -Follow the previous test plan -Checkin whichever material (e.g., book) without sequence or enumchrom -Open up source code for checkin page, search under title and verify that b and span tags do not appear Signed-off-by: Alain et Aurélie Signed-off-by: Jonathan Druart Signed-off-by: Kyle M Hall (cherry picked from commit 74ce643b89f3c49f163b9a553c74f45104c6130b) Signed-off-by: Frédéric Demians --- koha-tmpl/intranet-tmpl/prog/en/modules/circ/returns.tt | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/returns.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/returns.tt index dfcfef73bb..53d056e7df 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/returns.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/returns.tt @@ -617,8 +617,10 @@ $(document).ready(function () { [% riloo.itemtitle |html %] -
- [% riloo.enumchron %] + [% IF ( riloo.enumchron ) %] +
+ [% riloo.enumchron %] + [% END %] [% riloo.itemauthor %] [% riloo.barcode %] -- 2.39.5