Bug 27742: Page titles have unique info first
[koha.git] / koha-tmpl / opac-tmpl / bootstrap / en / modules / opac-tags_subject.tt
1 [% USE Koha %]
2 [% INCLUDE 'doc-head-open.inc' %]
3 <title>Subject cloud &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-tags-subject' %]
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="#">Subject cloud</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="subjectcloud" class="maincontent">
36                         <h2>Subject cloud</h2>
37                             [% IF Koha.Preference( 'OpacCloud' ) == 1 %]
38                                 [% IF ( LOOP ) %]
39                                     <p>This &quot;cloud&quot; shows the most used topics in our catalog. Click on any subject below to see the items in our collection.</p>
40                                     <fieldset>
41                                         <legend>Show</legend>
42                                         <form class="form-inline" action="/cgi-bin/koha/opac-tags_subject.pl" method="post">
43                                             <p>up to <input type="text" name="number" value="[% number | html %]" size="4" maxlength="4" /> subjects <input type="submit" class="btn btn-primary" value="OK" /></p>
44                                         </form>
45                                     </fieldset>
46
47                                     [% FOREACH LOO IN LOOP %]
48                                         <a href="/cgi-bin/koha/opac-search.pl?idx=su&amp;q=&quot;[% LOO.entry | uri %]&quot;" style="font-size:[% LOO.weight | html %]px;">[% LOO.entry | html %]</a>
49                                     [% END %]
50                                 [% ELSE %]
51                                     <p>Note: This feature only available to French catalogs where ISBD subjects have been populated, and an index built by separate script.</p>
52                                 [% END # / IF LOOP %]
53                             [% ELSE %]
54                                 <div class="alert alert-info">
55                                     <p>The ISBD cloud is not enabled.</p>
56                                 </div>
57                             [% END # / IF OpacCloud %]
58                     </div> <!-- / #subjectcloud -->
59
60                 </div> <!-- / .col-10/12 -->
61             </div> <!-- / .row -->
62         </div> <!-- / .container-fluid -->
63     </div> <!-- / .main -->
64
65 [% INCLUDE 'opac-bottom.inc' %]
66 [% BLOCK jsinclude %][% END %]