[Koha-bugs] [Bug 13238] Improve heading on vendor search when searching for all vendors
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Thu Mar 10 03:01:52 CET 2016
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=13238
--- Comment #2 from M. Tompsett <mtompset at hotmail.com> ---
Comment on attachment 48531
--> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=48531
Bug 13238: Improve heading on vendor search when searching for all vendors
Review of attachment 48531:
--> (https://bugs.koha-community.org/bugzilla3/page.cgi?id=splinter.html&bug=13238&attachment=48531)
-----------------------------------------------------------------
This works, but:
2 result(s) found for 'vendor: '
still looks ugly for empty search term case, as mentioned in comment #0.
::: koha-tmpl/intranet-tmpl/prog/en/modules/acqui/booksellers.tt
@@ +52,4 @@
>
> [% INCLUDE 'acquisitions-toolbar.inc' %]
> [% UNLESS ( count == 1 ) %]
> +<h1>[% count %] result(s) found for 'vendor: [% supplier %]'</h1>
Perhaps an [% IF (supplier.length>0) %] ... [% ELSE % ]<h1>[% count %]
result(s) found</h1>[% END %] -- Except with nicer vertical spacing?
http://template-toolkit.org/docs/manual/VMethods.html#section_length
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list