Bug 21578: Terminology changes in patron's account section (staff)
[koha.git] / koha-tmpl / intranet-tmpl / prog / en / modules / members / routing-lists.tt
1 [% USE raw %]
2 [% USE Asset %]
3 [% USE Koha %]
4 [% USE AuthorisedValues %]
5 [% USE Branches %]
6 [% SET footerjs = 1 %]
7 [% INCLUDE 'doc-head-open.inc' %]
8 <title>Subscription routing lists for [% INCLUDE 'patron-title.inc' no_html = 1 %]</title>
9 [% INCLUDE 'doc-head-close.inc' %]
10 </head>
11
12 <body id="pat_routing_lists" class="pat">
13 [% INCLUDE 'header.inc' %]
14 [% INCLUDE 'patron-search.inc' %]
15
16 <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>
17
18 <div id="doc3" class="yui-t2">
19     <div id="bd">
20     <div id="yui-main">
21     <div class="yui-b">
22 [% INCLUDE 'members-toolbar.inc' %]
23
24 <!-- Search Bar -->
25 <p class="tip">Search subscriptions:</p>
26 <form action="/cgi-bin/koha/serials/serials-search.pl" method="get">[% IF ( routing ) %]<input type="hidden" name="routing" value="[% routing | html %]" />[% 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 | html %]" /> <label for="title_filter">Title:</label> <input type="text" size="20" maxlength="40" name="title_filter" id="title_filter" value="[% title_filter | html %]" /><input type="submit" value="Search" class="submit" />
27 </form>
28 <!-- Search Bar End -->
29
30 [% SET routinglists = patron.get_routing_lists %]
31 <h1>
32 [% UNLESS ( routinglists ) %]
33 0 subscription routing lists
34 [% ELSIF ( routinglists.count == 1 ) %]
35 [% routinglists.count | html %] subscription routing list
36 [% ELSE %]
37 [% routinglists.count | html %] subscription routing lists
38 [% END %]
39 </h1>
40
41 <div id="subscriptions">
42
43 [% IF ( routinglists ) %]
44     <table id="subscriptiont">
45         <thead>
46             <tr>
47                 <th>Subscription title</th>
48                 <th>Position</th>
49                 <th>Routing list</th>
50             </tr>
51         </thead>
52         <tbody>
53         [% FOREACH routinglist IN routinglists %]
54             <tr>
55                 <td>
56                     <a href="/cgi-bin/koha/serials/subscription-detail.pl?subscriptionid=[% routinglist.subscription.subscriptionid | uri %]">
57                         [% routinglist.subscription.biblio.title | html %]
58                     </a>
59                 </td>
60                 <td>
61                     [% routinglist.ranking | html %]
62                 </td>
63                 <td>
64                     <a href="/cgi-bin/koha/serials/routing.pl?subscriptionid=[% routinglist.subscription.subscriptionid | uri %]">
65                         Edit routing list
66                     </a>
67                     <input type="hidden" name="biblionumber" value="[% routinglist.subscription.biblionumber | html %]" />
68                     <input type="hidden" name="borrowernumber" value="[% patron.borrowernumber | html %]" />
69                 </td>
70             </tr>
71             [% END %]
72         </tbody>
73     </table>
74 [% ELSE %]
75     <p>Patron does not belong to any subscription routing lists.</p>
76     <input type="hidden" name="biblionumber" value="[% routinglist.subscription.biblionumber | html %]" />
77     <input type="hidden" name="borrowernumber" value="[% patron.borrowernumber | html %]" />
78 [% END %]
79
80 </div>
81
82
83 </div>
84 </div>
85
86 <div class="yui-b">
87 [% INCLUDE 'circ-menu.inc' %]
88 </div>
89 </div>
90
91 [% MACRO jsinclude BLOCK %]
92     [% INCLUDE 'str/members-menu.inc' %]
93     [% Asset.js("js/members-menu.js") | $raw %]
94 [% END %]
95
96 [% INCLUDE 'intranet-bottom.inc' %]