Lines 1-4
Link Here
|
1 |
[% USE KohaDates %] |
1 |
[% USE KohaDates %] |
|
|
2 |
[% USE ColumnsSettings %] |
2 |
[% IF ( export_remove_fields OR export_with_csv_profile ) %] |
3 |
[% IF ( export_remove_fields OR export_with_csv_profile ) %] |
3 |
[% SET exports_enabled = 1 %] |
4 |
[% SET exports_enabled = 1 %] |
4 |
[% END %] |
5 |
[% END %] |
Lines 12-21
Link Here
|
12 |
</title> |
13 |
</title> |
13 |
[% INCLUDE 'doc-head-close.inc' %] |
14 |
[% INCLUDE 'doc-head-close.inc' %] |
14 |
[% INCLUDE 'calendar.inc' %] |
15 |
[% INCLUDE 'calendar.inc' %] |
15 |
[% IF ( UseTablesortForCirc ) %]<link rel="stylesheet" type="text/css" href="[% themelang %]/css/datatables.css" /> |
16 |
[% IF ( UseTablesortForCirc ) %] |
16 |
<script type="text/javascript" src="[% themelang %]/lib/jquery/plugins/jquery.dataTables.min.js"></script> |
17 |
<link rel="stylesheet" type="text/css" href="[% themelang %]/css/datatables.css" /> |
17 |
[% INCLUDE 'datatables-strings.inc' %] |
18 |
<link rel="stylesheet" type="text/css" href="[% themelang %]/css/datatables.colvis.css" /> |
18 |
<script type="text/javascript" src="[% themelang %]/js/datatables.js"></script>[% END %] |
19 |
<script type="text/javascript" src="[% themelang %]/lib/jquery/plugins/jquery.dataTables.min.js"></script> |
|
|
20 |
[% INCLUDE 'datatables-strings.inc' %] |
21 |
<script type="text/javascript" src="[% themelang %]/js/datatables.js"></script> |
22 |
<script type="text/javascript" src="[% themelang %]/lib/jquery/plugins/jquery.dataTables.colvis.js"></script> |
23 |
[% INCLUDE 'columns_settings.inc' %] |
24 |
[% END %] |
19 |
<script type="text/javascript" src="[% themelang %]/lib/jquery/plugins/jquery.checkboxes.min.js"></script> |
25 |
<script type="text/javascript" src="[% themelang %]/lib/jquery/plugins/jquery.checkboxes.min.js"></script> |
20 |
<script type="text/javascript" src="[% themelang %]/lib/jquery/plugins/jquery-ui-timepicker-addon.js"></script> |
26 |
<script type="text/javascript" src="[% themelang %]/lib/jquery/plugins/jquery-ui-timepicker-addon.js"></script> |
21 |
<script type="text/javascript"> |
27 |
<script type="text/javascript"> |
Lines 23-29
Link Here
|
23 |
[% IF ( UseTablesortForCirc && dateformat == 'metric' ) %]dt_add_type_uk_date();[% END %] |
29 |
[% IF ( UseTablesortForCirc && dateformat == 'metric' ) %]dt_add_type_uk_date();[% END %] |
24 |
[% IF ( borrowernumber ) %]if($.cookie("holdfor") != [% borrowernumber %]){ $.cookie("holdfor",null, { path: "/", expires: 0 }); }[% ELSE %]$.cookie("holdfor",null, { path: "/", expires: 0 });[% END %] |
30 |
[% IF ( borrowernumber ) %]if($.cookie("holdfor") != [% borrowernumber %]){ $.cookie("holdfor",null, { path: "/", expires: 0 }); }[% ELSE %]$.cookie("holdfor",null, { path: "/", expires: 0 });[% END %] |
25 |
[% UNLESS ( borrowernumber ) %][% UNLESS ( CGIselectborrower ) %]window.onload=function(){ $('#findborrower').focus(); };[% END %][% END %] |
31 |
[% UNLESS ( borrowernumber ) %][% UNLESS ( CGIselectborrower ) %]window.onload=function(){ $('#findborrower').focus(); };[% END %][% END %] |
26 |
$(document).ready(function() { |
32 |
$(document).ready(function() { |
27 |
$('#patronlists').tabs([% IF ( UseTablesortForCirc ) %]{ |
33 |
$('#patronlists').tabs([% IF ( UseTablesortForCirc ) %]{ |
28 |
// Correct table sizing for tables hidden in tabs |
34 |
// Correct table sizing for tables hidden in tabs |
29 |
// http://www.datatables.net/examples/api/tabs_and_scrolling.html |
35 |
// http://www.datatables.net/examples/api/tabs_and_scrolling.html |
Lines 34-51
Link Here
|
34 |
} |
40 |
} |
35 |
} |
41 |
} |
36 |
}[% END %]); |
42 |
}[% END %]); |
|
|
43 |
|
44 |
|
37 |
[% IF ( UseTablesortForCirc ) %] |
45 |
[% IF ( UseTablesortForCirc ) %] |
38 |
$("#issuest").dataTable($.extend(true, {}, dataTablesDefaults, { |
46 |
|
39 |
"sDom": 't', |
47 |
if ( $("#issuest").length > 0 ) { |
40 |
"aaSorting": [], |
48 |
columns_settings = [% ColumnsSettings.GetColumns( 'circ', 'circulation', 'issuest', 'json' ) %] |
41 |
"aoColumnDefs": [ |
49 |
[% UNLESS exports_enabled %] |
42 |
{ "aTargets": [ -1, -2[% IF ( exports_enabled ) %], -3[% END %] ], "bSortable": false, "bSearchable": false } |
50 |
columns_settings = jQuery.grep(columns_settings, function(column) { |
43 |
], |
51 |
return column['columnname'] != 'export'; |
44 |
"aoColumns": [ |
52 |
} ); |
45 |
{ "sType": "title-string" },{ "sType": "html" },null,{ "sType": "title-string" },null,null,null,null,null,null[% IF ( exports_enabled ) %],null[% END %] |
53 |
[% END %] |
46 |
], |
54 |
var issuest = KohaTable("#issuest", { |
47 |
"bPaginate": false |
55 |
"sDom": 'C<"clearfix">t', |
48 |
})); |
56 |
"aaSorting": [], |
|
|
57 |
"aoColumnDefs": [ |
58 |
{ "aTargets": [ -1, -2[% IF ( exports_enabled ) %], -3[% END %] ], "bSortable": false, "bSearchable": false }, |
59 |
], |
60 |
"aoColumns": [ |
61 |
{ "sType": "title-string" },{ "sType": "html" },null,{ "sType": "title-string" },null,null,null,null,null,null[% IF ( exports_enabled ) %],null[% END %] |
62 |
], |
63 |
"bPaginate": false, |
64 |
}, columns_settings); |
65 |
} |
66 |
|
67 |
if ( $("#holdst").length > 0 ) { |
68 |
columns_settings = [% ColumnsSettings.GetColumns( 'circ', 'circulation', 'holdst', 'json' ) %] |
69 |
var holdst = KohaTable("#holdst", { |
70 |
"sDom": 'C<"clearfix">t', |
71 |
"aaSorting": [], |
72 |
"aoColumnDefs": [ |
73 |
{ "aTargets": [ -1, -2 ], "bSortable": false, "bSearchable": false }, |
74 |
], |
75 |
"aoColumns": [ |
76 |
{ "sType": "title-string" },{ "sType": "html" },null,null,null,null,null |
77 |
], |
78 |
"bPaginate": false, |
79 |
}, columns_settings); |
80 |
} |
49 |
|
81 |
|
50 |
$("#relissuest").dataTable($.extend(true, {}, dataTablesDefaults, { |
82 |
$("#relissuest").dataTable($.extend(true, {}, dataTablesDefaults, { |
51 |
"sDom": 't', |
83 |
"sDom": 't', |
Lines 1110-1116
No patron matched <span class="ex">[% message %]</span>
Link Here
|
1110 |
<tbody> |
1142 |
<tbody> |
1111 |
[% FOREACH reservloo IN reservloop %] |
1143 |
[% FOREACH reservloo IN reservloop %] |
1112 |
<tr class="[% reservloo.color %]"> |
1144 |
<tr class="[% reservloo.color %]"> |
1113 |
<td>[% reservloo.reservedate %]</td> |
1145 |
<td><span title="[% reservloo.reservedate_sort %]">[% reservloo.reservedate %]</span></td> |
1114 |
<td><a href="/cgi-bin/koha/reserve/request.pl?biblionumber=[% reservloo.biblionumber %]"><strong>[% reservloo.title |html %]</strong></a>[% IF ( reservloo.author ) %], by [% reservloo.author %][% END %]</td> |
1146 |
<td><a href="/cgi-bin/koha/reserve/request.pl?biblionumber=[% reservloo.biblionumber %]"><strong>[% reservloo.title |html %]</strong></a>[% IF ( reservloo.author ) %], by [% reservloo.author %][% END %]</td> |
1115 |
<td>[% reservloo.itemcallnumber %]</td> |
1147 |
<td>[% reservloo.itemcallnumber %]</td> |
1116 |
<td><em>[% IF ( reservloo.barcodereserv ) %]Item [% reservloo.barcodereserv %] |
1148 |
<td><em>[% IF ( reservloo.barcodereserv ) %]Item [% reservloo.barcodereserv %] |
1117 |
- |
|
|