From 74ce643b89f3c49f163b9a553c74f45104c6130b 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 --- 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 77a2bc25ff..fbfbd0c305 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/returns.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/returns.tt @@ -636,8 +636,10 @@ $(document).ready(function () { [% riloo.itemtitle |html %] -
- [% riloo.enumchron %] + [% IF ( riloo.enumchron ) %] +
+ [% riloo.enumchron %] + [% END %] [% riloo.itemauthor %] [% riloo.barcode %] -- 2.39.5