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