Bug 20168: Update of the OPAC bootstrap template to bootstrap v4
[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>[% IF ( LibraryNameTitle ) %][% LibraryNameTitle | html %][% ELSE %]Koha online[% END %] catalog &rsaquo; Your routing lists</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 aria-label="breadcrumb">
18         <ul 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" aria-current="page">
26                 <a href="#">Your routing lists</a>
27             </li>
28         </ul>
29     </nav>
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                     <h2>Routing lists</h2>
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                             <thead>
49                                 <tr>
50                                     <th>Subscription title</th>
51                                 </tr>
52                             </thead>
53
54                             <tbody>
55                             [% FOREACH routinglist IN routinglists %]
56                                 [% IF ( titles_loop.odd ) %]<tr class="highlight">[% ELSE %]<tr>[% END %]
57                                     <td>
58                                         <a href="/cgi-bin/koha/opac-detail.pl?biblionumber=[% routinglist.subscription.biblio.biblionumber | uri %]">
59                                             [% routinglist.subscription.biblio.title | html %]
60                                         </a>
61                                     </td>
62                                 </tr>
63                             [% END %]
64                             </tbody>
65                         </table>
66                     [% ELSE %]
67                         <p>You are currently not listed on any routing lists.</p>
68                     [% END %]
69                 </div> <!-- /#user-routing-lists.maincontent -->
70
71             </div> <!-- / .col-10 -->
72         </div> <!-- / .row -->
73     </div> <!-- / .container-fluid -->
74 </div> <!-- / .main -->
75
76 [% INCLUDE 'opac-bottom.inc' %]
77 [% BLOCK jsinclude %]
78 [% END %]