Bug 28955: (follow-up) Set to fall back
[koha.git] / koha-tmpl / opac-tmpl / bootstrap / en / modules / opac-restrictedpage.tt
1 [% USE raw %]
2 [% USE Koha %]
3 [% USE AdditionalContents %]
4 [% SET OpacNav = AdditionalContents.get( location => "OpacNav", lang => lang, library => logged_in_user.branchcode || default_branch, blocktitle => 0 ) %]
5 [% SET OpacNavBottom = AdditionalContents.get( location => "OpacNavBottom", lang => lang, library => logged_in_user.branchcode || default_branch, blocktitle => 0 ) %]
6 [% INCLUDE 'doc-head-open.inc' %]
7 <title>
8     [% IF RestrictedPageTitle %]
9         [% RestrictedPageTitle | html %] &rsaquo;
10     [% END %]
11     [% IF ( LibraryNameTitle ) %]
12         [% LibraryNameTitle | html %]
13     [% ELSE %]
14         Koha online
15     [% END %]
16     catalog
17 </title>
18 [% INCLUDE 'doc-head-close.inc' %]
19 [% BLOCK cssinclude %][% END %]
20 </head>
21 <body id="opac-account" class="scrollto">
22 [% INCLUDE 'masthead.inc' %]
23
24 <div class="main">
25     <nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumbs">
26         <ol class="breadcrumb">
27             <li class="breadcrumb-item">
28                <a href="/cgi-bin/koha/opac-main.pl">Home</a>
29             </li>
30             [% IF Koha.Preference('RestrictedPageTitle') %]
31                 <li class="breadcrumb-item active">
32                     <a href="#" aria-current="page">[% Koha.Preference('RestrictedPageTitle') | html %]</a>
33                 </li>
34             [% END %]
35         </ol>
36     </nav> <!-- /#breadcrumbs -->
37
38     <div class="container-fluid">
39         <div class="row">
40             <div class="col-lg-2">
41                 <div id="navigation">
42                     [% INCLUDE 'navigation.inc' %]
43                 </div>
44             </div>
45             <div class="col-10 order-first order-md-first order-lg-2">
46                 <div id="restrictedcontent" class="maincontent">
47                     [% IF Koha.Preference('RestrictedPageTitle') %]
48                         <h1>[% Koha.Preference('RestrictedPageTitle') | html %]</h1>
49                     [% END %]
50                     [% Koha.Preference('RestrictedPageContent') | $raw %]
51                 </div>
52             </div> <!-- / .col-10 -->
53         </div> <!-- / .row -->
54     </div> <!-- / .container-fluid -->
55 </div> <!-- / .main -->
56
57 [% INCLUDE 'opac-bottom.inc' %]
58 [% BLOCK jsinclude %][% END %]