Lines 1-5
Link Here
|
1 |
[% USE Branches %] |
1 |
[% USE Branches %] |
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-20
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 |
[% INCLUDE 'datatables.inc' %][% END %] |
18 |
<link rel="stylesheet" type="text/css" href="[% themelang %]/css/datatables.css" /> |
|
|
19 |
[% INCLUDE 'datatables.inc' %] |
20 |
<link rel="stylesheet" type="text/css" href="[% themelang %]/css/datatables.colvis.css" /> |
21 |
<script type="text/javascript" src="[% themelang %]/lib/jquery/plugins/jquery.dataTables.colvis.js"></script> |
22 |
[% INCLUDE 'columns_settings.inc' %] |
23 |
[% END %] |
18 |
<script type="text/javascript" src="[% interface %]/lib/jquery/plugins/jquery.checkboxes.min.js"></script> |
24 |
<script type="text/javascript" src="[% interface %]/lib/jquery/plugins/jquery.checkboxes.min.js"></script> |
19 |
<script type="text/javascript" src="[% interface %]/lib/jquery/plugins/jquery-ui-timepicker-addon.min.js"></script> |
25 |
<script type="text/javascript" src="[% interface %]/lib/jquery/plugins/jquery-ui-timepicker-addon.min.js"></script> |
20 |
[% INCLUDE 'timepicker.inc' %] |
26 |
[% INCLUDE 'timepicker.inc' %] |
Lines 26-32
var MSG_EXPORT_SELECT_CHECKOUTS = _("You must select checkout(s) to export");
Link Here
|
26 |
[% IF ( UseTablesortForCirc && dateformat == 'metric' ) %]dt_add_type_uk_date();[% END %] |
32 |
[% IF ( UseTablesortForCirc && dateformat == 'metric' ) %]dt_add_type_uk_date();[% END %] |
27 |
[% IF ( borrowernumber ) %]if($.cookie("holdfor") != [% borrowernumber %]){ $.cookie("holdfor",null, { path: "/", expires: 0 }); }[% ELSE %]$.cookie("holdfor",null, { path: "/", expires: 0 });[% END %] |
33 |
[% IF ( borrowernumber ) %]if($.cookie("holdfor") != [% borrowernumber %]){ $.cookie("holdfor",null, { path: "/", expires: 0 }); }[% ELSE %]$.cookie("holdfor",null, { path: "/", expires: 0 });[% END %] |
28 |
[% UNLESS ( borrowernumber ) %][% UNLESS ( CGIselectborrower ) %]window.onload=function(){ $('#findborrower').focus(); };[% END %][% END %] |
34 |
[% UNLESS ( borrowernumber ) %][% UNLESS ( CGIselectborrower ) %]window.onload=function(){ $('#findborrower').focus(); };[% END %][% END %] |
29 |
$(document).ready(function() { |
35 |
$(document).ready(function() { |
30 |
$('#patronlists').tabs([% IF ( UseTablesortForCirc ) %]{ |
36 |
$('#patronlists').tabs([% IF ( UseTablesortForCirc ) %]{ |
31 |
// Correct table sizing for tables hidden in tabs |
37 |
// Correct table sizing for tables hidden in tabs |
32 |
// http://www.datatables.net/examples/api/tabs_and_scrolling.html |
38 |
// http://www.datatables.net/examples/api/tabs_and_scrolling.html |
Lines 37-54
var MSG_EXPORT_SELECT_CHECKOUTS = _("You must select checkout(s) to export");
Link Here
|
37 |
} |
43 |
} |
38 |
} |
44 |
} |
39 |
}[% END %]); |
45 |
}[% END %]); |
|
|
46 |
|
47 |
|
40 |
[% IF ( UseTablesortForCirc ) %] |
48 |
[% IF ( UseTablesortForCirc ) %] |
41 |
$("#issuest").dataTable($.extend(true, {}, dataTablesDefaults, { |
49 |
if ( $("#issuest").length > 0 ) { |
42 |
"sDom": 't', |
50 |
columns_settings = [% ColumnsSettings.GetColumns( 'circ', 'circulation', 'issuest', 'json' ) %] |
43 |
"aaSorting": [], |
51 |
[% UNLESS exports_enabled %] |
44 |
"aoColumnDefs": [ |
52 |
columns_settings = jQuery.grep(columns_settings, function(column) { |
45 |
{ "aTargets": [ -1, -2[% IF ( exports_enabled ) %], -3[% END %] ], "bSortable": false, "bSearchable": false } |
53 |
return column['columnname'] != 'export'; |
46 |
], |
54 |
} ); |
47 |
"aoColumns": [ |
55 |
[% END %] |
48 |
{ "sType": "title-string" },{ "sType": "anti-the" },null,{ "sType": "title-string" },null,null,null,null,null,null[% IF ( exports_enabled ) %],null[% END %] |
56 |
var issuest = KohaTable("#issuest", { |
49 |
], |
57 |
"sDom": 'C<"clearfix">t', |
50 |
"bPaginate": false |
58 |
"aaSorting": [], |
51 |
})); |
59 |
"aoColumnDefs": [ |
|
|
60 |
{ "aTargets": [ -1, -2[% IF ( exports_enabled ) %], -3[% END %] ], "bSortable": false, "bSearchable": false }, |
61 |
], |
62 |
"aoColumns": [ |
63 |
{ "sType": "title-string" },{ "sType": "anti-the" },null,{ "sType": "title-string" },null,null,null,null,null,null[% IF ( exports_enabled ) %],null[% END %] |
64 |
], |
65 |
"bPaginate": false, |
66 |
}, columns_settings); |
67 |
} |
68 |
|
69 |
if ( $("#holdst").length > 0 ) { |
70 |
columns_settings = [% ColumnsSettings.GetColumns( 'circ', 'circulation', 'holdst', 'json' ) %] |
71 |
var holdst = KohaTable("#holdst", { |
72 |
"sDom": 'C<"clearfix">t', |
73 |
"aaSorting": [], |
74 |
"aoColumnDefs": [ |
75 |
{ "aTargets": [ -1, -2 ], "bSortable": false, "bSearchable": false }, |
76 |
], |
77 |
"aoColumns": [ |
78 |
{ "sType": "natural" },{ "sType": "title-string" },{ "sType": "html" },null,null,null,null,null |
79 |
], |
80 |
"bPaginate": false, |
81 |
}, columns_settings); |
82 |
} |
52 |
|
83 |
|
53 |
$("#relissuest").dataTable($.extend(true, {}, dataTablesDefaults, { |
84 |
$("#relissuest").dataTable($.extend(true, {}, dataTablesDefaults, { |
54 |
"sDom": 't', |
85 |
"sDom": 't', |
Lines 1062-1068
No patron matched <span class="ex">[% message %]</span>
Link Here
|
1062 |
<tbody> |
1093 |
<tbody> |
1063 |
[% FOREACH reservloo IN reservloop %] |
1094 |
[% FOREACH reservloo IN reservloop %] |
1064 |
<tr class="[% reservloo.color %]"> |
1095 |
<tr class="[% reservloo.color %]"> |
1065 |
<td>[% reservloo.reservedate %]</td> |
1096 |
<td><span title="[% reservloo.reservedate_sort %]">[% reservloo.reservedate %]</span></td> |
1066 |
<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> |
1097 |
<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> |
1067 |
<td>[% reservloo.itemcallnumber %]</td> |
1098 |
<td>[% reservloo.itemcallnumber %]</td> |
1068 |
<td><em>[% IF ( reservloo.barcodereserv ) %]Item [% reservloo.barcodereserv %] |
1099 |
<td><em>[% IF ( reservloo.barcodereserv ) %]Item [% reservloo.barcodereserv %] |
1069 |
- |
|
|