Bug 27610: Changed pages of OPAC to have a <h1>
[koha.git] / koha-tmpl / opac-tmpl / bootstrap / en / modules / opac-browser.tt
1 [% USE Koha %]
2 [% INCLUDE 'doc-head-open.inc' %]
3 <title>Browse our catalog &rsaquo; [% IF ( LibraryNameTitle ) %][% LibraryNameTitle | html %][% ELSE %]Koha online[% END %] catalog</title>
4 [% INCLUDE 'doc-head-close.inc' %]
5 [% BLOCK cssinclude %][% END %]
6 </head>
7 [% INCLUDE 'bodytag.inc' bodyid='opac-browser' %]
8 [% INCLUDE 'masthead.inc' %]
9
10     <div class="main">
11         <nav aria-label="breadcrumb">
12             <ul class="breadcrumb">
13                 <li class="breadcrumb-item">
14                     <a href="/cgi-bin/koha/opac-main.pl">Home</a>
15                 </li>
16                 <li class="breadcrumb-item active" aria-current="page">
17                     <a href="#">Browse our catalog</a>
18                 </li>
19             </ul>
20         </nav>
21
22         <div class="container-fluid">
23             <div class="row">
24                 [% IF ( OpacNav || OpacNavBottom ) %]
25                     <div class="col-lg-2">
26                         <div id="navigation">
27                             [% INCLUDE 'navigation.inc' %]
28                         </div>
29                     </div>
30                     <div class="col-10 order-first order-md-first order-lg-2">
31                 [% ELSE %]
32                     <div class="col order-first order-md-first order-lg-2">
33                 [% END %]
34
35                     <div id="userbrowser" class="maincontent">
36                         <h1>Browse our catalog</h1>
37
38                         [% IF ( have_hierarchy ) %]
39                             <ul>
40                                 <li>
41                                     [% description | html %] <a href="opac-browser.pl">Top level</a>
42                                 </li>
43                                 <li style="list-style-type: none;">
44                                     <ul>
45                                         [% FOREACH HIERARCHY_LOO IN HIERARCHY_LOOP %]
46                                             <li>
47                                                 <a href="opac-browser.pl?level=[% HIERARCHY_LOO.level | uri %]&amp;filter=[% HIERARCHY_LOO.classification |uri %]">[% HIERARCHY_LOO.description | html %]</a>
48                                             </li>
49                                             <li style="list-style-type: none;">
50                                         [% END %]
51                                         <li style="list-style-type: none;">
52                                             <table class="table table-bordered table-striped">
53                                                 <tr>
54                                                     [% FOREACH LEVEL_LOO IN LEVEL_LOOP %]
55                                                         <td>
56                                                             <p>
57                                                                 [% IF ( LEVEL_LOO.endnode ) %]
58                                                                     <a href="opac-search.pl?q=Dewey-classification:[% LEVEL_LOO.classification |uri %]">[% LEVEL_LOO.description | html %]</a>
59                                                                 [% ELSE %]
60                                                                     <a href="opac-browser.pl?level=[% LEVEL_LOO.level | uri %]&amp;filter=[% LEVEL_LOO.classification |uri %]">[% LEVEL_LOO.description | html %]</a>
61                                                                 [% END %]
62                                                             </p>
63                                                             <p style="font-size:0.75em"><em>([% LEVEL_LOO.number | html %] biblios)</em></p>
64                                                         </td>
65                                                     [% IF ( LEVEL_LOO.count3 ) %]</tr><tr>[% END %]
66                                                     [% END %]
67                                                 </tr>
68                                             </table>
69                                         </li>
70                                     [% FOREACH HIERARCHY_LOO IN HIERARCHY_LOOP %]
71                                         </ul></li>
72                                     [% END %]
73                                     </ul>
74                                 </li>
75                             </ul>
76                         [% ELSE %]
77                             <div class="warning">The browser table is empty. this feature is not fully set-up. See the <a href="http://wiki.koha-community.org/wiki/Opac_browse_feature">Koha Wiki</a> for more information on what it does and how to configure it.</div>
78                         [% END # / IF have_hierarchy %]
79
80                     </div> <!-- / .userbrowser -->
81
82                 </div> <!-- / .col-10/12 -->
83             </div> <!-- / .row -->
84         </div> <!-- / .container-fluid -->
85     </div> <!-- / .main -->
86
87 [% INCLUDE 'opac-bottom.inc' %]
88 [% BLOCK jsinclude %][% END %]