Bug 10309 - New OPAC theme based on Bootstrap
[koha.git] / koha-tmpl / opac-tmpl / bootstrap / en / modules / svc / suggestion.tt
1 [% IF (render=='standalone') %]
2     [% USE Koha %]
3     [% INCLUDE 'doc-head-open.inc' %]Search suggestions
4     [% INCLUDE 'doc-head-close.inc' %]
5     </head>
6     <body id="opac-suggestion">
7     [% INCLUDE 'masthead.inc' %]
8
9     <div class="main">
10         <ul class="breadcrumb">
11             <li><a href="/cgi-bin/koha/opac-main.pl">Home</a> <span class="divider">&rsaquo;</span></li>
12             <li><a href="#">Search suggestions</a></li>
13         </ul>
14
15         <div class="container-fluid">
16             <div class="row-fluid">
17                 [% IF ( OpacNav || OpacNavBottom ) %]
18                     <div class="span2">
19                         <div id="navigation">
20                             [% INCLUDE 'navigation.inc' %]
21                         </div>
22                     </div>
23                     <div class="span10">
24                 [% ELSE %]
25                     <div class="span12">
26                 [% END %]
27                    <div id="searchsuggestions">
28             <h1 class="title">Suggestions</h1>
29 [% END %]
30
31 [% IF suggestions && suggestions.size %]
32     <div>
33         <span class="suggestionlabel">Did you mean:</span>
34         [% FOREACH suggestion IN suggestions %]
35             <span class="searchsuggestion"><a href="/cgi-bin/koha/opac-search.pl?q=[% suggestion.search |uri %]">[% suggestion.label |html %]</a></span>
36         [% END %]
37     </div>
38 [% ELSE %]
39     <span class="nosuggestions">Sorry, no suggestions.</span>
40 [% END %]
41
42 [% IF (render=='standalone') %]
43                     </div> <!-- / #searchsuggestions -->
44                 </div> <!-- / .span10/12 -->
45             </div> <!-- / .row-fluid -->
46         </div> <!-- / .container-fluid -->
47     </div> <!-- / .main -->
48     [% INCLUDE 'opac-bottom.inc' %]
49     [% BLOCK jsinclude %][% END %]
50 [% END %]