From 9a129ac4f9e041751c61913ef78ac87a2d3c9e75 Mon Sep 17 00:00:00 2001 From: Jaswinder Singh Date: Tue, 18 Sep 2018 12:30:41 -0400 Subject: [PATCH] LP#1772680: added RBDigital search language Signed-off-by: Jaswinder Singh Signed-off-by: Galen Charlton --- .../ebook_api/rbdigital/parts/result/lowhits.tt2 | 62 ++++++++++------------ Open-ILS/src/templates/opac/parts/vendor_tabs.tt2 | 5 +- Open-ILS/web/css/skin/default/ebook/rbdigital.css | 13 +++++ 3 files changed, 45 insertions(+), 35 deletions(-) diff --git a/Open-ILS/src/templates/opac/ebook_api/rbdigital/parts/result/lowhits.tt2 b/Open-ILS/src/templates/opac/ebook_api/rbdigital/parts/result/lowhits.tt2 index cd6b5a935c..cae0ecdfb7 100644 --- a/Open-ILS/src/templates/opac/ebook_api/rbdigital/parts/result/lowhits.tt2 +++ b/Open-ILS/src/templates/opac/ebook_api/rbdigital/parts/result/lowhits.tt2 @@ -29,40 +29,36 @@ END %]

-
+
[% INCLUDE "opac/parts/result/lowhits_purchase.tt2" %] -

- [% l('Keyword Search Tips') %]
- [% i18n_advsearch = l('Advanced Search'); - l('Try changing to [_1].', '' _ i18n_advsearch _ '') %] -

-

- [% l('Adjacency') %]
- [% l('Multiple words are not searched together as a phrase. They will ' _ - 'be found in various parts of the record. To search for a phrase, enclose your ' _ - 'search terms in quotation marks.') %]
- [% i18n_searchphrase = l('garcia marquez'); - l('(example: [_1])', '"' _ i18n_searchphrase _ '"') %] -

-

- [% l('Truncation') %]
- [% l('Words may be right-hand truncated using an asterisk. Use a single asterisk * ' _ - 'to truncate any number of characters.') %]
- [% i18n_searchtrunc = l('environment* agency'); - l('(example: [_1])', '' _ i18n_searchtrunc _ '') %] -

-

- [% l('Anchored Searching') %]
- [% l('You may use ^ and $ to indicate "phrase begins with" and ' _ - '"phrase ends with," respectively, within a search phrase ' _ - 'enclosed in quotation marks.') %]
- [% i18n_searchbegins = l('harry'); - i18n_searchends = l('stone'); - l('(examples: [_1] for phrases that begin with the term [_2]. ' _ - '[_3] for phrases that end in [_4].)', - '"^' _ i18n_searchbegins _ '"', '' _ i18n_searchbegins _ '', - '"' _ i18n_searchends _ '$"', '' _ i18n_searchends _ '') %] -

+ [% i18n_advsearch = l('Advanced Search'); %] +
+ [% l('RBdigital Search Tips') %]
+ [% l('RBdigital Search Fields Are:'); %] +
    +
  • Title
  • +
  • Author
  • +
  • Series
  • +
  • Language
  • +
  • Literary Form
  • +
  • Published Year
  • +
  • Available/Unavailable
  • +
  • ISBN (place in Keyword omitting all other criteria)
  • +
+
+
+ [% l('ISBN') %]
+ [% l('When searching for ISBN, place the ISBN in the keyword field omitting all other criteria.'); %]
+ +
+
+ [% l('BASIC SEARCH') %]
+ [% l('Each word typed into the Basic Search field broadens your search. Results appear by relevance.'); %]
+
+
+ [% i18n_advsearch; %]
+ [% l('To combine criteria, use Advanced Search.'); %]
+
diff --git a/Open-ILS/src/templates/opac/parts/vendor_tabs.tt2 b/Open-ILS/src/templates/opac/parts/vendor_tabs.tt2 index ebc48cafb5..a628628325 100644 --- a/Open-ILS/src/templates/opac/parts/vendor_tabs.tt2 +++ b/Open-ILS/src/templates/opac/parts/vendor_tabs.tt2 @@ -1,3 +1,4 @@ +[% message_for_non_members = l("Login to see e-books and e-audiobooks @ your library"); %] [% IF ctx.user and ctx.vendors.size > 1; %]
@@ -35,7 +36,7 @@ [% vendor_name = ctx.vendors.0.name; %]