|
Lines 6-11
Link Here
|
| 6 |
<title>Koha › Serials [% biblionumber %]</title> |
6 |
<title>Koha › Serials [% biblionumber %]</title> |
| 7 |
[% INCLUDE 'doc-head-close.inc' %] |
7 |
[% INCLUDE 'doc-head-close.inc' %] |
| 8 |
<link rel="stylesheet" type="text/css" href="[% interface %]/[% theme %]/css/datatables.css" /> |
8 |
<link rel="stylesheet" type="text/css" href="[% interface %]/[% theme %]/css/datatables.css" /> |
|
|
9 |
[% INCLUDE 'datatables.inc' %] |
| 10 |
<script type="text/javascript"> |
| 11 |
//<![CDATA[ |
| 12 |
$(document).ready(function() { |
| 13 |
var osrlt = $("#osrlt").dataTable($.extend(true, {}, dataTablesDefaults, { |
| 14 |
"sPaginationType": "four_button", |
| 15 |
"aoColumnDefs": [ |
| 16 |
{ 'visible' : false, "targets" : 0}, |
| 17 |
{ "iDataSort" : 0, 'aTargets' : [ 2 ] }, |
| 18 |
{ 'bSortable': false, "bSearchable": false, 'aTargets': [ 'NoSort' ] }, |
| 19 |
{ "sType": "title-string", "aTargets" : [ "title-string" ] }, |
| 20 |
{ 'sType': "anti-the", 'aTargets' : [ 'anti-the'] } |
| 21 |
] |
| 22 |
} ) ); |
| 23 |
|
| 24 |
var csrlt = $("#csrlt").dataTable($.extend(true, {}, dataTablesDefaults, { |
| 25 |
// FIXME sort function of additional_fields! |
| 26 |
"sPaginationType": "four_button", |
| 27 |
"aoColumnDefs": [ |
| 28 |
{ 'bSortable': false, 'aTargets': [ 'NoSort' ] }, |
| 29 |
{ 'sType': "anti-the", 'aTargets' : [ 'anti-the'] } |
| 30 |
] |
| 31 |
} ) ); |
| 32 |
|
| 33 |
osrlt.fnAddFilters("dt-filter", 750); |
| 34 |
csrlt.fnAddFilters("dt-filter", 750); |
| 35 |
|
| 36 |
$('#serialstabs').tabs(); |
| 37 |
$("#reopensub").click(function(){ |
| 38 |
return confirm(_("Are you sure you want to reopen this subscription?")); |
| 39 |
}); |
| 40 |
}); |
| 41 |
$ |
| 42 |
//]]> |
| 43 |
</script> |
| 9 |
<style type="text/css">input.dt-filter { width : 100%; font-size : 85%; }</style> |
44 |
<style type="text/css">input.dt-filter { width : 100%; font-size : 85%; }</style> |
| 10 |
</head> |
45 |
</head> |
| 11 |
|
46 |
|
|
Lines 111-116
Link Here
|
| 111 |
<table id="osrlt"> |
146 |
<table id="osrlt"> |
| 112 |
<thead> |
147 |
<thead> |
| 113 |
<tr> |
148 |
<tr> |
|
|
149 |
<th>Sort</th> |
| 114 |
<th>ISSN</th> |
150 |
<th>ISSN</th> |
| 115 |
<th class="anti-the">Title</th> |
151 |
<th class="anti-the">Title</th> |
| 116 |
<th>Notes</th> |
152 |
<th>Notes</th> |
|
Lines 136-148
Link Here
|
| 136 |
[% FOR field IN additional_fields_for_subscription %] |
172 |
[% FOR field IN additional_fields_for_subscription %] |
| 137 |
<td><input type="text" class="dt-filter" data-column_num="[% loop.count + 6 %]" placeholder="Search [% field.name %]" /></td> |
173 |
<td><input type="text" class="dt-filter" data-column_num="[% loop.count + 6 %]" placeholder="Search [% field.name %]" /></td> |
| 138 |
[% END %] |
174 |
[% END %] |
| 139 |
<td></td> |
175 |
<td colspan="2"></td> |
| 140 |
</tr> |
176 |
</tr> |
| 141 |
</tfoot> |
177 |
</tfoot> |
| 142 |
<tbody> |
178 |
<tbody> |
| 143 |
[% FOREACH subscription IN openedsubscriptions %] |
179 |
[% FOREACH subscription IN openedsubscriptions %] |
| 144 |
[% UNLESS subscription.cannotdisplay %] |
180 |
[% UNLESS subscription.cannotdisplay %] |
| 145 |
<tr> |
181 |
<tr> |
|
|
182 |
<td>[% IF ( subscription.titlesort ) %][% subscription.titlesort %][% END %]</td> |
| 146 |
<td> |
183 |
<td> |
| 147 |
[% IF ( subscription.issn ) %][% subscription.issn %] |
184 |
[% IF ( subscription.issn ) %][% subscription.issn %] |
| 148 |
[% END %] |
185 |
[% END %] |