Bugzilla – Attachment 54764 Details for
Bug 17165
Improve heading on vendor search when searching for all vendors in Serials
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 17165: Improve heading on vendor search when searching for all vendors in Serials
Bug-17165-Improve-heading-on-vendor-search-when-se.patch (text/plain), 1.95 KB, created by
Jonathan Druart
on 2016-08-23 11:29:11 UTC
(
hide
)
Description:
Bug 17165: Improve heading on vendor search when searching for all vendors in Serials
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2016-08-23 11:29:11 UTC
Size:
1.95 KB
patch
obsolete
>From 092fe204895c440d38accfe02bb39e185705efeb Mon Sep 17 00:00:00 2001 >From: Aleisha Amohia <aleishaamohia@hotmail.com> >Date: Tue, 23 Aug 2016 03:28:20 +0000 >Subject: [PATCH] Bug 17165: Improve heading on vendor search when searching > for all vendors in Serials >MIME-Version: 1.0 >Content-Type: text/plain; charset=UTF-8 >Content-Transfer-Encoding: 8bit > >To test: >1) Go to Serials >2) Click New subscription or edit an existing one >3) Click Search for a vendor >4) Make a search that will return no results (i.e. has a typo etc.) >5) Confirm there is an appropriate message >6) Go back and make a search that will return results (i.e. putting in one letter > 'a' etc.) >7) Confirm that heading is worded better and search term is displayed >8) Go back and make search without entering any search terms >9) Confirm that heading is worded better, no search term is displayed > >Sponsored-by: Catalyst IT > >Patch behaves as dexcribed. >Signed-off-by: Marc Véron <veron@veron.ch> > >Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >--- > .../intranet-tmpl/prog/en/modules/serials/acqui-search-result.tt | 8 +++++++- > 1 file changed, 7 insertions(+), 1 deletion(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/serials/acqui-search-result.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/serials/acqui-search-result.tt >index 94efaf7..5be78a4 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/serials/acqui-search-result.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/serials/acqui-search-result.tt >@@ -18,7 +18,13 @@ function GetIt(aqbooksellerid,name) > > > <h1>Vendor search results</h1> >-<h2>You searched on <b>vendor [% supplier %],</b> [% count %] results found</h2> >+[% UNLESS count %] >+ <h2>Your search returned no results.</h2> >+[% ELSIF ( supplier.length < 1 ) %] >+ <h2>Vendor search: [% count %] result(s) found</h2> >+[% ELSE %] >+ <h2>Vendor search: [% count %] result(s) found for '[% supplier %]'</h2> >+[% END %] > > [% IF ( loop_suppliers ) %] > <table> >-- >2.8.1
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 17165
:
54740
|
54743
| 54764