Bug 22807: (follow-up) Add .maincontent class to libraries page
[koha.git] / koha-tmpl / opac-tmpl / bootstrap / en / modules / opac-library.tt
index dec3db9..dfba205 100644 (file)
                     </div> <!-- /#library_info -->
 
                 [% ELSE %]
-                    <h2>[% IF ( singleBranchMode ) %]Library[% ELSE %]Libraries[% END %]</h2>
+                    <div id="library_info" class="maincontent">
+                        <h2>[% IF ( singleBranchMode ) %]Library[% ELSE %]Libraries[% END %]</h2>
 
-                    [% FOREACH library IN libraries %]
-                        <h3 property="name">
-                            [% IF ( libraries.count > 1 ) %]
-                                <a href="/cgi-bin/koha/opac-library.pl?branchcode=[% library.branchcode | url %]">[% library.branchname | html %]</a>
-                            [% ELSE %]
-                                [% library.branchname | html %]
+                        [% FOREACH library IN libraries %]
+                            <h3 property="name">
+                                [% IF ( libraries.count > 1 ) %]
+                                    <a href="/cgi-bin/koha/opac-library.pl?branchcode=[% library.branchcode | url %]">[% library.branchname | html %]</a>
+                                [% ELSE %]
+                                    [% library.branchname | html %]
+                                [% END %]
+                            </h3>
+                            [% PROCESS library_info %]
+                            <hr>
+                            [% IF ( libraries.count == 1 ) %]
+                                [% PROCESS library_description %]
                             [% END %]
-                        </h3>
-                        [% PROCESS library_info %]
-                        <hr>
-                        [% IF ( libraries.count == 1 ) %]
-                            [% PROCESS library_description %]
                         [% END %]
-                    [% END %]
-
+                    </div>
                 [% END %]
 
         </div> <!-- /.row-fluid -->