]> git.evergreen-ils.org Git - Evergreen.git/blob - Open-ILS/src/templates-bootstrap/opac/parts/result/lowhits.tt2
LP1778972 A slew of updates
[Evergreen.git] / Open-ILS / src / templates-bootstrap / opac / parts / result / lowhits.tt2
1
2     <div id="zero_search_hits">
3         <div class="facet_sidebar_hidden" id="facet_sidebar">
4           <h3 class="sr-only">[% l('Search Results filters') %]</h3>
5         </div>
6         <div class="zero_search_hits_saved">
7             [% INCLUDE "opac/parts/staff_saved_searches.tt2" %]
8         </div>
9         <div class="zero_search_hits_main">
10             <p>[% qhtml = CGI.param('query') | html;
11                   IF ctx.bookbag;
12                        wbbag = ctx.bookbag.name | html;
13                        fmt_bookbag = '<span class="lowhits-bookbag-name">' _ wbbag _ '</span>';
14                        IF is_advanced OR is_special;
15                           l('Sorry, no entries were found for your search within [_1].', fmt_bookbag);
16                        ELSE;
17                           l('Sorry, no entries were found for [_1] within [_2].', '<q>' _ qhtml _ '</q>', fmt_bookbag);
18                        END;
19                    ELSE;
20                      IF is_advanced OR is_special;
21                           l('Sorry, no entries were found for your search.');
22                        ELSE;
23                           IF !qhtml;
24                              l('Please enter a search term in the Search box.');
25                           ELSE;
26                              l('Sorry, no entries were found for [_1].', '<q>' _ qhtml _ '</q>');
27                           END;
28                        END;
29                    END %]
30             </p>
31         </div>
32         <div id="lowhits_help">
33         [% INCLUDE "opac/parts/result/lowhits_purchase.tt2" %]
34             <p>
35                 <strong>[% l('Keyword Search Tips') %]</strong><br />
36                 [% i18n_advsearch = l('Advanced Search');
37                    l('Try changing to [_1].', '<strong>' _ i18n_advsearch _ '</strong>') %]
38             </p>
39             <p>
40                 <strong>[% l('Adjacency') %]</strong><br />
41                 [% l('Multiple words are not searched together as a phrase. They will ' _
42                      'be found in various parts of the record. To search for a phrase, enclose your ' _
43                      'search terms in quotation marks.') %]<br />
44                 [% i18n_searchphrase = l('garcia marquez');
45                    l('(example: [_1])', '<strong>&quot;' _ i18n_searchphrase _ '&quot;</strong>') %]
46             </p>
47             <p>
48                 <strong>[% l('Truncation') %]</strong><br />
49                 [% l('Words may be right-hand truncated using an asterisk. Use a single asterisk * ' _
50                      'to truncate any number of characters.') %]<br />
51                 [% i18n_searchtrunc = l('environment* agency');
52                    l('(example: [_1])', '<strong>' _ i18n_searchtrunc _ '</strong>') %]
53             </p>
54             <p>
55                 <strong>[% l('Anchored Searching') %]</strong><br />
56                 [% l('You may use ^ and $ to indicate "phrase begins with" and ' _
57                      '"phrase ends with," respectively, within a search phrase ' _
58                      'enclosed in quotation marks.') %]<br />
59                 [% i18n_searchbegins = l('harry');
60                    i18n_searchends = l('stone');
61                    l('(examples: [_1] for phrases that begin with the term [_2]. ' _
62                      '[_3] for phrases that end in [_4].)',
63                      '<strong>&quot;^' _ i18n_searchbegins _ '&quot;</strong>', '<em>' _ i18n_searchbegins _ '</em>',
64                      '<strong>&quot;' _ i18n_searchends _ '$&quot;</strong>', '<em>' _ i18n_searchends _ '</em>') %]
65             </p>
66             [% INCLUDE "opac/parts/result/lowhits_purchase.tt2" %]
67         </div>
68     </div>