Lines 21-70
Link Here
|
21 |
<!-- Search Bar End --> |
21 |
<!-- Search Bar End --> |
22 |
|
22 |
|
23 |
<h1> |
23 |
<h1> |
24 |
[% IF ( countSubscrip ) %] |
24 |
[% IF ( routinglists.size > 0 ) %] |
25 |
[% countSubscrip %] Subscription routing list(s) |
25 |
[% routinglists.size %] Subscription routing list(s) |
26 |
[% ELSE %] |
26 |
[% ELSE %] |
27 |
0 Subscription routing lists |
27 |
0 Subscription routing lists |
28 |
[% END %] |
28 |
[% END %] |
29 |
</h1> |
29 |
</h1> |
30 |
|
30 |
|
31 |
<div id="subscriptions"> |
31 |
<div id="subscriptions"> |
32 |
[% IF ( subscripLoop ) %] |
32 |
[% IF ( routinglists.size > 0 ) %] |
33 |
<table id="subscriptiont"> |
33 |
<table id="subscriptiont"> |
34 |
<thead> |
34 |
<thead> |
35 |
<tr> |
35 |
<tr> |
36 |
<th>Subscription title</th> |
36 |
<th>Subscription title</th> |
37 |
<th>Routing list</th> |
37 |
<th>Routing list</th> |
38 |
</tr> |
38 |
<th>Actions</th> |
39 |
</thead> |
39 |
</tr> |
40 |
<tbody> |
40 |
</thead> |
41 |
[% FOREACH subscripLoop IN subscripLoop %] |
41 |
<tbody> |
42 |
<tr> |
42 |
[% FOREACH routinglist IN routinglists %] |
43 |
<td> |
43 |
<tr> |
44 |
<a href="/cgi-bin/koha/serials/subscription-detail.pl?subscriptionid=[% subscripLoop.subscriptionid %]"><strong> |
44 |
<td> |
45 |
[% subscripLoop.title %] |
45 |
<a href="/cgi-bin/koha/serials/subscription-detail.pl?subscriptionid=[% routinglist.subscriptionid %]"> |
46 |
</strong> |
46 |
<strong> |
47 |
</a> |
47 |
[% routinglist.bibliotitle %] |
48 |
</td> |
48 |
</strong> |
49 |
<td> |
49 |
</a> |
50 |
<a href="/cgi-bin/koha/serials/routing.pl?subscriptionid=[% subscripLoop.subscriptionid %]"><strong> |
50 |
</td> |
51 |
Edit routing list |
51 |
<td>[% routinglist.title %]</td> |
52 |
</strong> |
52 |
<td> |
53 |
</a> |
53 |
<a href="/cgi-bin/koha/serials/routinglist.pl?routinglistid=[% routinglist.routinglistid %]"><strong> |
54 |
<input type="hidden" name="biblionumber" value="[% biblionumber %]" /> |
54 |
Edit routing list |
55 |
<input type="hidden" name="borrowernumber" value="[% borrowernumber %]" /> |
55 |
</strong> |
56 |
</td> |
56 |
</a> |
57 |
</tr> |
57 |
</td> |
58 |
[% END %] |
58 |
</tr> |
59 |
</tbody> |
59 |
[% END %] |
60 |
</table> |
60 |
</tbody> |
61 |
</form> |
61 |
</table> |
62 |
[% ELSE %] |
62 |
[% ELSE %] |
63 |
<p>Patron does not belong to any subscription routing lists.</p> |
63 |
<p>Patron does not belong to any subscription routing lists.</p> |
64 |
<input type="hidden" name="biblionumber" value="[% biblionumber %]" /> |
64 |
[% END %] |
65 |
<input type="hidden" name="borrowernumber" value="[% borrowernumber %]" /> |
|
|
66 |
[% END %] |
67 |
|
68 |
</div> |
65 |
</div> |
69 |
|
66 |
|
70 |
|
67 |
|