Line 0
Link Here
|
|
|
1 |
[% INCLUDE 'doc-head-open.inc' %] |
2 |
<title>Koha › Serials [% biblionumber %]</title> |
3 |
<link rel="stylesheet" type="text/css" href="[% themelang %]/css/datatables.css" /> |
4 |
[% INCLUDE 'doc-head-close.inc' %] |
5 |
<script type="text/javascript" src="[% themelang %]/lib/jquery/plugins/jquery.dataTables.min.js"></script> |
6 |
[% INCLUDE 'datatables-strings.inc' %] |
7 |
<script type="text/javascript" src="[% themelang %]/js/datatables.js"></script> |
8 |
<script type="text/javascript"> |
9 |
//<![CDATA[ |
10 |
$(document).ready(function() { |
11 |
var srlt = $("#srlt").dataTable($.extend(true, {}, dataTablesDefaults, { |
12 |
"aoColumnDefs": [ |
13 |
{ "aTargets": [ -1, -2, -3 ], "bSortable": false, "bSearchable": false }, |
14 |
], |
15 |
"sPaginationType": "four_button" |
16 |
} ) ); |
17 |
|
18 |
srlt.fnAddFilters("filter", 750); |
19 |
}); |
20 |
//]]> |
21 |
</script> |
22 |
</head> |
23 |
<body id="ser_serials-home" class="ser"> |
24 |
[% INCLUDE 'header.inc' %] |
25 |
[% INCLUDE 'serials-search.inc' %] |
26 |
|
27 |
<div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> › [% IF ( done_searched ) %]<a href="/cgi-bin/koha/serials/serials-home.pl">Serials</a> › Search results[% ELSE %]Serials [% END %] </div> |
28 |
|
29 |
<div id="doc3" class="yui-t2"> |
30 |
<div id="bd"> |
31 |
<div id="yui-main"> |
32 |
<div class="yui-b"> |
33 |
[% INCLUDE 'serials-toolbar.inc' %] |
34 |
|
35 |
<h2>Serials subscriptions</h2> |
36 |
|
37 |
<div id="advsearch"> |
38 |
<form action="/cgi-bin/koha/serials/serials-search.pl" method="get"> |
39 |
<fieldset class="brief"> |
40 |
[% IF ( done_searched ) %] |
41 |
<div onclick="$('#advsearch_form').slideToggle(400);" style="width:100%;"> |
42 |
<a id="unfold_advsearch" style="cursor:pointer">Advanced search</a> |
43 |
</div> |
44 |
<div id="advsearch_form" style="display:none"> |
45 |
[% ELSE %] |
46 |
<div> |
47 |
[% END %] |
48 |
<ol> |
49 |
<li> |
50 |
<label for="issn">ISSN:</label> |
51 |
<input type="text" id="issn" name="ISSN_filter" value="[% ISSN_filter %]" /> |
52 |
</li> |
53 |
<li> |
54 |
<label for="title">Title:</label> |
55 |
<input type="text" id="title" name="title_filter" value="[% title_filter %]" /> |
56 |
</li> |
57 |
<li> |
58 |
<label for="ean">EAN:</label> |
59 |
<input type="text" id="ean" name="EAN_filter" value="[% EAN_filter %]" /> |
60 |
</li> |
61 |
<li> |
62 |
<label for="publisher">Publisher:</label> |
63 |
<input type="text" id="publisher" name="publisher_filter" value="[% publisher_filter %]" /> |
64 |
</li> |
65 |
<li> |
66 |
<label for="bookseller">Bookseller:</label> |
67 |
<input type="text" id="bookseller" name="bookseller_filter" value="[% bookseller_filter %]" /> |
68 |
</li> |
69 |
<li> |
70 |
<label for="branch">Branch:</label> |
71 |
<select id="branch" name="branch_filter"> |
72 |
<option value="">All</option> |
73 |
[% FOREACH branch IN branches_loop %] |
74 |
[% IF ( branch.selected ) %] |
75 |
<option selected="selected" value="[% branch.branchcode %]">[% branch.branchname %]</option> |
76 |
[% ELSE %] |
77 |
<option value="[% branch.branchcode %]">[% branch.branchname %]</option> |
78 |
[% END %] |
79 |
[% END %] |
80 |
</select> |
81 |
</li> |
82 |
</ol> |
83 |
<input type="hidden" name="searched" value="1" /> |
84 |
<fieldset class="action"> |
85 |
<input type="submit" value="Search" /> |
86 |
</fieldset> |
87 |
</div> |
88 |
</fieldset> |
89 |
</form> |
90 |
</div> |
91 |
|
92 |
[% IF ( done_searched ) %] |
93 |
[% IF ( subscriptions ) %] |
94 |
<table id="srlt"> |
95 |
<thead> |
96 |
<tr> |
97 |
<th>ISSN</th> |
98 |
<th>Title</th> |
99 |
<th> Notes </th> |
100 |
<th> |
101 |
Library (callnumber) |
102 |
</th> |
103 |
[% IF ( routing && CAN_user_serials_routing ) %] |
104 |
<th>Routing list</th> |
105 |
[% END %] |
106 |
<th> </th> |
107 |
<th> </th> |
108 |
</tr> |
109 |
</thead> |
110 |
<tfoot> |
111 |
<tr> |
112 |
<td><input type="text" class="filter" data-column_num="0" placeholder="Search ISSN" /></td> |
113 |
<td><input type="text" class="filter" data-column_num="1" placeholder="Search title" /></td> |
114 |
<td><input type="text" class="filter" data-column_num="2" placeholder="Search notes" /></td> |
115 |
<td><input type="text" class="filter" data-column_num="3" placeholder="Search library" /></td> |
116 |
[% IF ( routing && CAN_user_serials_routing ) %]<td></td>[% END %] |
117 |
<td></td> |
118 |
<td></td> |
119 |
</tr> |
120 |
</tfoot> |
121 |
<tbody> |
122 |
[% FOREACH subscription IN subscriptions %] |
123 |
<tr> |
124 |
<td> |
125 |
[% IF ( subscription.issn ) %][% subscription.issn %] |
126 |
[% END %] |
127 |
</td> |
128 |
<td><a href="/cgi-bin/koha/serials/subscription-detail.pl?subscriptionid=[% subscription.subscriptionid %]" class="button" title="subscription detail">[% subscription.title |html %]</a> |
129 |
</td> |
130 |
<td>[% IF ( subscription.notes ) %][% subscription.notes %][% END %] |
131 |
[% IF ( subscription.internalnotes ) %]([% subscription.internalnotes %])[% END %] |
132 |
</td> |
133 |
<td> |
134 |
[% IF ( subscription.branchname ) %][% subscription.branchname %][% END %] |
135 |
[% IF ( subscription.callnumber ) %]([% subscription.callnumber %])[% END %] |
136 |
</td> |
137 |
[% IF ( routing && CAN_user_serials_routing ) %] |
138 |
<td> |
139 |
[% IF ( subscription.cannotedit ) %] |
140 |
|
141 |
[% ELSE %] |
142 |
[% IF ( subscription.routingedit ) %] |
143 |
<a href="/cgi-bin/koha/serials/routing.pl?subscriptionid=[% subscription.subscriptionid %]">Edit</a> |
144 |
[% ELSE %] |
145 |
<a href="/cgi-bin/koha/serials/routing.pl?subscriptionid=[% subscription.subscriptionid %]&op=new">New</a> |
146 |
[% END %] |
147 |
[% END %] |
148 |
</td> |
149 |
[% END %] |
150 |
<td><a href="/cgi-bin/koha/serials/serials-collection.pl?subscriptionid=[% subscription.subscriptionid %]">Issue history</a> |
151 |
</td> |
152 |
<td> |
153 |
[% IF ( subscription.cannotedit ) %] |
154 |
|
155 |
[% ELSE %] |
156 |
[% IF ( CAN_user_serials_receive_serials ) %]<a href="/cgi-bin/koha/serials/serials-edit.pl?subscriptionid=[% subscription.subscriptionid %]&serstatus=1,3,7">Serial receive</a>[% END %] |
157 |
[% END %] |
158 |
</td> |
159 |
</tr> |
160 |
[% END %] |
161 |
</tbody> |
162 |
</table> |
163 |
[% ELSE %] |
164 |
There is no subscription for your search. |
165 |
[% END %] |
166 |
[% END %] |
167 |
</div> |
168 |
</div> |
169 |
|
170 |
<div class="yui-b"> |
171 |
[% INCLUDE 'serials-menu.inc' %] |
172 |
</div> |
173 |
</div> |
174 |
[% INCLUDE 'intranet-bottom.inc' %] |