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