Lines 1-6
Link Here
|
1 |
[% INCLUDE 'doc-head-open.inc' %] |
1 |
[% INCLUDE 'doc-head-open.inc' %] |
2 |
<title>Koha › Serials › Serial collection information for [% bibliotitle %]</title> |
2 |
<title>Koha › Serials › Serial collection information for [% bibliotitle %]</title> |
|
|
3 |
<link rel="stylesheet" type="text/css" href="[% themelang %]/css/datatables.css" /> |
3 |
[% INCLUDE 'doc-head-close.inc' %] |
4 |
[% INCLUDE 'doc-head-close.inc' %] |
|
|
5 |
<script type="text/javascript" src="[% themelang %]/lib/jquery/plugins/jquery.dataTables.min.js"></script> |
6 |
<script type="text/javascript" src="[% themelang %]/js/datatables.js"></script> |
7 |
<script type="text/javascript" src="[% themelang %]/lib/jquery/plugins/jquery.checkboxes.min.js"></script> |
4 |
|
8 |
|
5 |
<script type="text/javascript"> |
9 |
<script type="text/javascript"> |
6 |
//<![CDATA[ |
10 |
//<![CDATA[ |
Lines 40-49
function generateNext(subscriptionid) {
Link Here
|
40 |
} |
44 |
} |
41 |
} |
45 |
} |
42 |
|
46 |
|
|
|
47 |
function CheckAll( node ) { |
48 |
$("#"+node).checkCheckboxes(); |
49 |
return false; |
50 |
} |
51 |
function CheckNone( node ) { |
52 |
$("#"+node).unCheckCheckboxes(); |
53 |
return false; |
54 |
} |
43 |
$(document).ready(function() { |
55 |
$(document).ready(function() { |
44 |
$('#subscription_years').tabs(); |
56 |
$('#subscription_years').tabs(); |
|
|
57 |
[% IF dateformatmetric %] |
58 |
dt_add_type_uk_date(); |
59 |
[% END %] |
60 |
|
61 |
$(".subscription-year-table").dataTable($.extend(true, {}, dataTablesDefaults, { |
62 |
"aoColumnDefs": [ |
63 |
{ "aTargets": [ -1 ], "bSortable": false, "bSearchable": false }, |
64 |
], |
65 |
"bAutoWidth": false, |
66 |
"bPaginate": false, |
67 |
"bInfo": false, |
68 |
"bFilter": false, |
69 |
} )); |
45 |
}); |
70 |
}); |
46 |
|
|
|
47 |
|
71 |
|
48 |
//]]> |
72 |
//]]> |
49 |
</script> |
73 |
</script> |
Lines 193-200
$(document).ready(function() {
Link Here
|
193 |
</p> |
217 |
</p> |
194 |
[% END %] |
218 |
[% END %] |
195 |
|
219 |
|
196 |
<table> |
220 |
<table class="subscription-year-table"> |
197 |
<tr> |
221 |
<thead> |
|
|
222 |
<tr> |
198 |
[% IF ( subscriptions.size > 1 ) %] |
223 |
[% IF ( subscriptions.size > 1 ) %] |
199 |
<th># Subs</th> |
224 |
<th># Subs</th> |
200 |
[% END %] |
225 |
[% END %] |
Lines 211-218
$(document).ready(function() {
Link Here
|
211 |
<th>Library |
236 |
<th>Library |
212 |
</th> |
237 |
</th> |
213 |
[% IF ( routing ) %]<th>Routing</th>[% END %] |
238 |
[% IF ( routing ) %]<th>Routing</th>[% END %] |
214 |
[% IF ( CAN_user_serials_receive_serials ) %]<th>Edit</th>[% END %] |
239 |
[% IF ( CAN_user_serials_receive_serials ) %] |
|
|
240 |
<th style="min-width: 60px;"> |
241 |
<span style="font-size: 70%;"> |
242 |
<span class="checkall"> |
243 |
<a class="CheckAll" href="#" onclick="CheckAll('subscription-year-[% year.year %]'); return false;">Select all</a> |
244 |
</span> |
245 |
<span class="clearall"> |
246 |
<a class="CheckNone" href="#" onclick="CheckNone('subscription-year-[% year.year %]'); return false;">Clear all</a> |
247 |
</span> |
248 |
</span> |
249 |
</th> |
250 |
[% END %] |
215 |
</tr> |
251 |
</tr> |
|
|
252 |
</thead> |
253 |
<tbody> |
216 |
[% FOREACH serial IN year.serials %] |
254 |
[% FOREACH serial IN year.serials %] |
217 |
[% UNLESS ( loop.odd ) %]<tr class="highlight">[% ELSE %]<tr>[% END %] |
255 |
[% UNLESS ( loop.odd ) %]<tr class="highlight">[% ELSE %]<tr>[% END %] |
218 |
[% IF ( subscriptions.size > 1 ) %] |
256 |
[% IF ( subscriptions.size > 1 ) %] |
Lines 250-266
$(document).ready(function() {
Link Here
|
250 |
<input type="checkbox" name="serialid" value="[% serial.serialid %]" disabled="disabled" /> |
288 |
<input type="checkbox" name="serialid" value="[% serial.serialid %]" disabled="disabled" /> |
251 |
[% ELSE %] |
289 |
[% ELSE %] |
252 |
[% IF ( serial.checked ) %] |
290 |
[% IF ( serial.checked ) %] |
253 |
<input type="checkbox" name="serialid" checked="checked" value="[% serial.serialid %]" /> |
291 |
<input type="checkbox" class="checkboxed" name="serialid" checked="checked" value="[% serial.serialid %]" /> |
254 |
[% ELSE %] |
292 |
[% ELSE %] |
255 |
<input type="checkbox" name="serialid" value="[% serial.serialid %]" /> |
293 |
<input type="checkbox" class="checkboxed" name="serialid" value="[% serial.serialid %]" /> |
256 |
[% END %] |
294 |
[% END %] |
257 |
[% END %] |
295 |
[% END %] |
258 |
[% END %] |
296 |
[% END %] |
259 |
</td> |
297 |
</td> |
260 |
[% END %] |
298 |
[% END %] |
261 |
</tr> |
299 |
</tr> |
262 |
[% END %] |
300 |
[% END %] |
263 |
</table> |
301 |
</tbody> |
|
|
302 |
</table> |
264 |
</div> |
303 |
</div> |
265 |
[% END %] |
304 |
[% END %] |
266 |
<input type="hidden" name="subscriptionid" value="[% subscriptionidlist %]" /> |
305 |
<input type="hidden" name="subscriptionid" value="[% subscriptionidlist %]" /> |