LP#1772680: added RBDigital search language
authorJaswinder Singh <Jaswinder.Singh0011@gmail.com>
Tue, 18 Sep 2018 16:30:41 +0000 (12:30 -0400)
committerChris Sharp <csharp@georgialibraries.org>
Mon, 16 Sep 2019 19:20:03 +0000 (15:20 -0400)
Signed-off-by: Jaswinder Singh <Jaswinder.Singh0011@gmail.com>
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
Open-ILS/src/templates/opac/ebook_api/rbdigital/parts/result/lowhits.tt2
Open-ILS/src/templates/opac/parts/vendor_tabs.tt2
Open-ILS/web/css/skin/default/ebook/rbdigital.css

index cd6b5a9..cae0ecd 100644 (file)
                    END %]
             </p>
         </div>
-        <div id="lowhits_help">
+        <div id="lowhits_help" class="rbdigital_lowhits_help">
             [% INCLUDE "opac/parts/result/lowhits_purchase.tt2" %]
-            <p>
-                <strong>[% l('Keyword Search Tips') %]</strong><br />
-               [% i18n_advsearch = l('Advanced Search');
-                   l('Try changing to [_1].', '<strong>' _ i18n_advsearch _ '</strong>') %]
-            </p>
-            <p>
-                <strong>[% l('Adjacency') %]</strong><br />
-                [% 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.') %]<br />
-               [% i18n_searchphrase = l('garcia marquez');
-                   l('(example: [_1])', '<strong>&quot;' _ i18n_searchphrase _ '&quot;</strong>') %]
-            </p>
-            <p>
-                <strong>[% l('Truncation') %]</strong><br />
-                [% l('Words may be right-hand truncated using an asterisk. Use a single asterisk * ' _
-                    'to truncate any number of characters.') %]<br />
-               [% i18n_searchtrunc = l('environment* agency');
-                   l('(example: [_1])', '<strong>' _ i18n_searchtrunc _ '</strong>') %]
-            </p>
-            <p>
-                <strong>[% l('Anchored Searching') %]</strong><br />
-                [% l('You may use ^ and $ to indicate "phrase begins with" and ' _
-                    '"phrase ends with," respectively, within a search phrase ' _
-                    'enclosed in quotation marks.') %]<br />
-               [% 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].)',
-                    '<strong>&quot;^' _ i18n_searchbegins _ '&quot;</strong>', '<em>' _ i18n_searchbegins _ '</em>',
-                    '<strong>&quot;' _ i18n_searchends _ '$&quot;</strong>', '<em>' _ i18n_searchends _ '</em>') %]
-            </p>
+            [% i18n_advsearch = l('Advanced Search'); %]
+            <div>
+                <strong>[% l('RBdigital Search Tips') %]</strong><br />
+                   [% l('RBdigital Search Fields Are:'); %]
+                <ul>
+                    <li>Title</li>
+                    <li>Author</li>
+                    <li>Series</li>
+                    <li>Language</li>
+                    <li>Literary Form</li>
+                    <li>Published Year</li>
+                    <li>Available/Unavailable</li>
+                    <li>ISBN (place in Keyword omitting all other criteria)</li>
+                </ul>
+            </div>
+            <div>
+                <strong>[% l('ISBN') %]</strong><br />
+                [% l('When searching for ISBN, place the ISBN in the keyword field omitting all other criteria.'); %]<br />
+
+            </div>
+            <div>
+                <strong>[% l('BASIC SEARCH') %]</strong><br />
+                [% l('Each word typed into the Basic Search field broadens your search. Results appear by relevance.'); %]<br />
+            </div>
+            <div>
+                <strong>[% i18n_advsearch; %]</strong><br />
+                [% l('To combine criteria, use Advanced Search.'); %]<br />
+            </div>
         </div>
     </div>
 </div>
index ebc48ca..a628628 100644 (file)
@@ -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; %]
     <!-- Show Tabular View of Vendors to Logged-in users -->
     <div id="vendor_tabs">
@@ -35,7 +36,7 @@
     [% vendor_name = ctx.vendors.0.name; %]
     <div id="vendor_tabs">
         <div id="see-more-services-message">
-            Login to see e-books and e-audiobooks @ your library
+            [% message_for_non_members; %]
         </div>
         <div id="acct_tabs">
             <a id="lnkSearchResults_default" 
@@ -46,7 +47,7 @@
     <!-- Display Evergreen tab to non-logged in users -->
      <div id="vendor_tabs">
         <div id="see-more-services-message">
-            Login to see e-books and e-audiobooks @ your library
+            [% message_for_non_members; %]
         </div>
         <div id="acct_tabs">
             <a id="lnkSearchResults_default" 
index dad7c15..c52c52c 100644 (file)
@@ -89,4 +89,17 @@ a.opac-button:hover {
     font-size: 17.5px;
     padding-right: 2em;
     padding-top: 6px;
+}
+
+.rbdigital_lowhits_help ul {
+    list-style-type: none;
+}
+
+.rbdigital_lowhits_help li:before {
+    content: "-";
+    padding-right: 5px;
+}
+
+.rbdigital_lowhits_help > div {
+    margin-top: 1em;
 }
\ No newline at end of file