Bug 32023: Remove hr in OpacNav for CMS pages
[srvgit] / koha-tmpl / opac-tmpl / bootstrap / en / modules / opac-page.tt
1 [% USE raw %]
2 [% USE Koha %]
3 [% USE AdditionalContents %]
4 [% PROCESS 'i18n.inc' %]
5 [% SET OpacNav = AdditionalContents.get( location => "OpacNav", lang => lang, library => logged_in_user.branchcode, blocktitle => 0 ) %]
6 [% SET OpacNavBottom = AdditionalContents.get( location => "OpacNavBottom", lang => lang, library => logged_in_user.branchcode, blocktitle => 0 ) %]
7 [% INCLUDE 'doc-head-open.inc' %]
8 <title>[% IF page %][% page.title | html %][% ELSE %]Page error[% END %] &rsaquo; [% IF ( LibraryNameTitle ) %][% LibraryNameTitle | html %][% ELSE %]Koha online[% END %] catalog</title>
9 [% INCLUDE 'doc-head-close.inc' %]
10 [% BLOCK cssinclude %][% END %]
11 </head>
12 [% INCLUDE 'bodytag.inc' bodyid='opac-page-' _ page.idnew %]
13 [% INCLUDE 'masthead.inc' %]
14
15 <div class="main">
16     <nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumbs">
17         <ol class="breadcrumb">
18             <li class="breadcrumb-item">
19                 <a href="/cgi-bin/koha/opac-main.pl">Home</a>
20             </li>
21             [% IF page %]
22                 <li class="breadcrumb-item active">
23                     <a href="#" aria-current="page">[% page.title | html %]</a>
24                 </li>
25             [% ELSE %]
26                 <li class="breadcrumb-item active">
27                     <a href="#" aria-current="page">Page error</a>
28                 </li>
29             [% END %]
30         </ol>
31     </nav> <!-- /#breadcrumbs -->
32
33     <div class="container-fluid">
34         <div class="row">
35             [% IF ( OpacNav || OpacNavBottom ) %]
36                 <div class="col-12 col-lg-2 order-3 order-lg-1">
37                     <div id="navigation">
38                         [% IF ( OpacNav || OpacNavBottom ) %]
39                             [% INCLUDE 'navigation.inc' %]
40                         [% END %]
41                     </div>
42                 </div>
43                 <div class="col-12 col-lg-10 order-md-1 maincontent">
44             [% ELSE %]
45                 <div class="col order-md-1 maincontent">
46             [% END %]
47                 <div id="page_[% page.idnew | html %]" class="maincontent">
48
49             [% IF page %]
50
51             <h1>[% page.title | html %]</h1>
52
53             <div class="page_content">
54                 [% page.content | $raw %]
55             </div>
56
57             [% ELSE %]
58
59             <div class="alert alert-error">
60                 This page does not exist.
61             </div>
62
63             [% END %]
64
65         </div> <!-- / .col 6/8 -->
66
67         </div> <!-- /.container-fluid -->
68     </div> <!-- /.row -->
69 </div> <!-- /.main -->
70
71 [% INCLUDE 'opac-bottom.inc' %]
72 [% BLOCK jsinclude %][% END %]