Bug 28101: Update breadcrumb markup in the OPAC for consistency and accessibility
[koha.git] / koha-tmpl / opac-tmpl / bootstrap / en / modules / opac-routing-lists.tt
1 [% USE raw %]
2 [% USE Asset %]
3 [% USE Koha %]
4 [% USE KohaDates %]
5 [% INCLUDE 'doc-head-open.inc' %]
6 <title>Your routing lists &rsaquo; [% IF ( LibraryNameTitle ) %][% LibraryNameTitle | html %][% ELSE %]Koha online[% END %] catalog</title>
7 [% INCLUDE 'doc-head-close.inc' %]
8 [% BLOCK cssinclude %]
9     [% Asset.css("css/datatables.css") | $raw %]
10 [% END %]
11 </head>
12
13 [% INCLUDE 'bodytag.inc' bodyid='opac-account' bodyclass='scrollto' %]
14 [% INCLUDE 'masthead.inc' %]
15
16 <div class="main">
17     <nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumbs">
18         <ol class="breadcrumb">
19             <li class="breadcrumb-item">
20                <a href="/cgi-bin/koha/opac-main.pl">Home</a>
21             </li>
22             <li class="breadcrumb-item">
23                 <a href="/cgi-bin/koha/opac-routing-lists.pl">[% INCLUDE 'patron-title.inc' patron = logged_in_user %]</a>
24             </li>
25             <li class="breadcrumb-item active">
26                 <a href="#" aria-current="page">Your routing lists</a>
27             </li>
28         </ol>
29     </nav> <!-- /#breadcrumbs -->
30
31     <div class="container-fluid">
32         <div class="row">
33             <div class="col-lg-2">
34                 <div id="navigation">
35                     [% INCLUDE 'navigation.inc' IsPatronPage=1 %]
36                 </div>
37             </div>
38             <div class="col-10 order-first order-md-first order-lg-2">
39                 <div id="user-routing-lists" class="maincontent">
40
41                     <h1>Routing lists</h1>
42
43                     [% SET routinglists = logged_in_user.get_routing_lists %]
44                     [% IF ( routinglists.count ) %]
45                         <p id="routing-list-intro">You are subscribed to the routing lists for following serial titles. If you wish to make changes, please contact the library.</p>
46
47                         <table class="table table-bordered table-striped" id="routingtable">
48                             <caption class="sr-only">Routing lists</caption>
49                             <thead>
50                                 <tr>
51                                     <th>Subscription title</th>
52                                 </tr>
53                             </thead>
54
55                             <tbody>
56                             [% FOREACH routinglist IN routinglists %]
57                                 [% IF ( titles_loop.odd ) %]<tr class="highlight">[% ELSE %]<tr>[% END %]
58                                     <td>
59                                         <a href="/cgi-bin/koha/opac-detail.pl?biblionumber=[% routinglist.subscription.biblio.biblionumber | uri %]">
60                                             [% routinglist.subscription.biblio.title | html %]
61                                         </a>
62                                     </td>
63                                 </tr>
64                             [% END %]
65                             </tbody>
66                         </table>
67                     [% ELSE %]
68                         <p>You are currently not listed on any routing lists.</p>
69                     [% END %]
70                 </div> <!-- /#user-routing-lists.maincontent -->
71
72             </div> <!-- / .col-10 -->
73         </div> <!-- / .row -->
74     </div> <!-- / .container-fluid -->
75 </div> <!-- / .main -->
76
77 [% INCLUDE 'opac-bottom.inc' %]
78 [% BLOCK jsinclude %]
79 [% END %]