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