189b307cb732200b157d5c25f3585b880471a079
[koha.git] / koha-tmpl / opac-tmpl / bootstrap / en / modules / opac-routing-lists.tt
1 [% USE Asset %]
2 [% USE Koha %]
3 [% USE KohaDates %]
4 [% INCLUDE 'doc-head-open.inc' %]
5 <title>[% IF ( LibraryNameTitle ) %][% LibraryNameTitle %][% ELSE %]Koha online[% END %] catalog &rsaquo; Your routing lists</title>
6 [% INCLUDE 'doc-head-close.inc' %]
7 [% BLOCK cssinclude %]
8     [% Asset.css("css/datatables.css") %]
9 [% END %]
10 </head>
11
12 [% INCLUDE 'bodytag.inc' bodyid='opac-account' bodyclass='scrollto' %]
13 [% INCLUDE 'masthead.inc' %]
14
15 <div class="main">
16     <ul class="breadcrumb">
17         <li><a href="/cgi-bin/koha/opac-main.pl">Home</a> <span class="divider">&rsaquo;</span></li>
18         <li><a href="/cgi-bin/koha/opac-routing-lists.pl">[% INCLUDE 'patron-title.inc' category_type = BORROWER_INFO.category_type firstname = BORROWER_INFO.firstname surname = BORROWER_INFO.surname othernames = BORROWER_INFO.othernames cardnumber = BORROWER_INFO.cardnumber %]</a> <span class="divider">&rsaquo;</span></li>
19         <li><a href="#">Your routing lists</a></li>
20     </ul>
21
22     <div class="container-fluid">
23         <div class="row-fluid">
24             <div class="span2">
25                 <div id="navigation">
26                     [% INCLUDE 'navigation.inc' IsPatronPage=1 %]
27                 </div>
28             </div>
29             <div class="span10">
30                 <div id="user-routing-lists" class="maincontent">
31
32
33                     <h3>Routing lists</h3>
34
35                     [% SET routinglists = logged_in_user.get_routing_lists %]
36                     [% IF ( routinglists.count ) %]
37                         <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>
38
39                         <table class="table table-bordered table-striped" id="routingtable">
40                             <thead>
41                                 <tr>
42                                     <th>Subscription title</th>
43                                 </tr>
44                             </thead>
45
46                             <tbody>
47                             [% FOREACH routinglist IN routinglists %]
48                                 [% IF ( titles_loop.odd ) %]<tr class="highlight">[% ELSE %]<tr>[% END %]
49                                     <td>
50                                         <a href="/cgi-bin/koha/opac-detail.pl?biblionumber=[% routinglist.subscription.biblio.biblionumber %]">
51                                             [% routinglist.subscription.biblio.title %]
52                                         </a>
53                                     </td>
54                                 </tr>
55                             [% END %]
56                             </tbody>
57                         </table>
58                     [% ELSE %]
59                         <p>You are currently not listed on any routing lists.</p>
60                     [% END %]
61                 </div>
62             </div> <!-- / .span10 -->
63         </div> <!-- / .row-fluid -->
64     </div> <!-- / .container-fluid -->
65 </div> <!-- / .main -->
66
67 [% INCLUDE 'opac-bottom.inc' %]
68 [% BLOCK jsinclude %]
69 [% END %]