Merge branch 'bug_9850' into 3.14-master
[koha.git] / koha-tmpl / intranet-tmpl / prog / en / modules / members / routing-lists.tt
1 [% INCLUDE 'doc-head-open.inc' %]
2 <title>Subscription Routing Lists for [% INCLUDE 'patron-title.inc' %]</title>
3 [% INCLUDE 'doc-head-close.inc' %]
4 </head>
5 <body>
6 [% INCLUDE 'header.inc' %]
7 [% INCLUDE 'patron-search.inc' %]
8
9 <div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> &rsaquo; <a href="/cgi-bin/koha/members/members-home.pl">Patrons</a>  &rsaquo; Subscription Routing Lists for [% INCLUDE 'patron-title.inc' %]</div>
10
11 <div id="doc3" class="yui-t2">
12     <div id="bd">
13     <div id="yui-main">
14     <div class="yui-b">
15 [% INCLUDE 'members-toolbar.inc' %]
16
17 <!-- Search Bar -->
18 <p class="tip">Search subscriptions:</p>
19 <form action="/cgi-bin/koha/serials/serials-home.pl" method="get">[% IF ( routing ) %]<input type="hidden" name="routing" value="[% routing %]" />[% END %]<input type="hidden" name="searched" value="1" /> <label for="ISSN_filter">ISSN:</label> <input type="text" size="10" maxlength="11" name="ISSN_filter" id="ISSN_filter" value="[% ISSN_filter %]" /> <label for="title_filter">Title:</label> <input type="text" size="20" maxlength="40" name="title_filter" id="title_filter" value="[% title_filter %]" /><input type="submit" value="Search" class="submit" />
20 </form>
21 <!-- Search Bar End -->
22
23 <h1>
24 [% IF ( countSubscrip ) %]
25 [% countSubscrip %] Subscription routing list(s)
26 [% ELSE %]
27 0 Subscription routing lists
28 [% END %]
29 </h1>
30
31 <div id="subscriptions">
32 [% IF ( subscripLoop ) %]
33 <table id="subscriptiont">
34               <thead>
35                 <tr>
36                   <th>Subscription title</th>
37                   <th>Routing list</th>
38                 </tr>
39               </thead>
40               <tbody>
41 [% FOREACH subscripLoop IN subscripLoop %]
42 <tr>
43     <td>
44     <a href="/cgi-bin/koha/serials/subscription-detail.pl?subscriptionid=[% subscripLoop.subscriptionid %]"><strong>
45     [% subscripLoop.title %]
46     </strong>
47                     </a>
48                   </td>
49                   <td>
50                     <a href="/cgi-bin/koha/serials/routing.pl?subscriptionid=[% subscripLoop.subscriptionid %]"><strong>
51                     Edit routing list
52                       </strong>
53                     </a>
54                     <input type="hidden" name="biblionumber" value="[% biblionumber %]" />
55                     <input type="hidden" name="borrowernumber" value="[% borrowernumber %]" />
56                   </td>
57                 </tr>
58                 [% END %]
59                 </tbody>
60             </table>
61             </form>
62           [% ELSE %]
63           <p>Patron does not belong to any subscription routing lists.</p>
64           <input type="hidden" name="biblionumber" value="[% biblionumber %]" />
65                     <input type="hidden" name="borrowernumber" value="[% borrowernumber %]" />
66                     [% END %]
67
68 </div>
69
70
71
72
73 </div>
74 </div>
75
76 <div class="yui-b">
77 [% INCLUDE 'circ-menu.inc' %]
78 </div>
79 </div>
80 [% INCLUDE 'intranet-bottom.inc' %]