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 <aurelie.berut@enssib.fr>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
<td class="ci-title"><a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% riloo.itembiblionumber %]">
[% riloo.itemtitle |html %]
</a>
- <br/>
- <span class="item_enumeration" style="white-space: nowrap;">[% riloo.enumchron %]</span>
+ [% IF ( riloo.enumchron ) %]
+ <br/>
+ <span class="item_enumeration" style="white-space: nowrap;">[% riloo.enumchron %]</span>
+ [% END %]
</td>
<td class="ci-author">[% riloo.itemauthor %]</td>
<td class="ci-barcode"><a href="/cgi-bin/koha/catalogue/moredetail.pl?biblionumber=[% riloo.itembiblionumber %]&itemnumber=[% riloo.itemnumber %]#item[% riloo.itemnumber %]">[% riloo.barcode %]</a></td>