https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=13238

--- Comment #2 from M. Tompsett <[email protected]> ---
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.
_______________________________________________
Koha-bugs mailing list
[email protected]
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to