Lines 1-9
Link Here
|
|
|
1 |
[% USE ColumnsSettings %] |
2 |
|
1 |
[% INCLUDE 'doc-head-open.inc' %] |
3 |
[% INCLUDE 'doc-head-open.inc' %] |
2 |
<title>Koha › Cataloging › [% title |html %] [% IF ( author ) %] by [% author %][% END %] (Record #[% biblionumber %]) › Items</title> |
4 |
<title>Koha › Cataloging › [% title |html %] [% IF ( author ) %] by [% author %][% END %] (Record #[% biblionumber %]) › Items</title> |
3 |
<link rel="stylesheet" type="text/css" href="[% themelang %]/css/datatables.css" /> |
5 |
<link rel="stylesheet" type="text/css" href="[% themelang %]/css/datatables.css" /> |
4 |
[% INCLUDE 'doc-head-close.inc' %] |
6 |
[% INCLUDE 'doc-head-close.inc' %] |
5 |
[% INCLUDE 'datatables.inc' %] |
7 |
[% INCLUDE 'datatables.inc' %] |
6 |
<script type="text/javascript" src="[% themelang %]/js/cataloging.js"></script> |
8 |
<script type="text/javascript" src="[% themelang %]/js/cataloging.js"></script> |
|
|
9 |
[% INCLUDE 'columns_settings.inc' %] |
7 |
[% INCLUDE 'browser-strings.inc' %] |
10 |
[% INCLUDE 'browser-strings.inc' %] |
8 |
<!--[if lt IE 9]> |
11 |
<!--[if lt IE 9]> |
9 |
<script type="text/javascript" src="[% interface %]/lib/shims/json2.min.js"></script> |
12 |
<script type="text/javascript" src="[% interface %]/lib/shims/json2.min.js"></script> |
Lines 45-58
$(document).ready(function(){
Link Here
|
45 |
}); |
48 |
}); |
46 |
}); |
49 |
}); |
47 |
|
50 |
|
48 |
var itemst = $("#itemst").dataTable($.extend(true, {}, dataTablesDefaults, { |
51 |
var columns_settings = [% ColumnsSettings.GetColumns( 'cataloguing', 'additem', 'itemst', 'json' ) %] |
|
|
52 |
// Skip the first column |
53 |
columns_settings.unshift( { cannot_be_toggled: "1" } ); |
54 |
|
55 |
var itemst = KohaTable("#itemst", { |
49 |
"aoColumnDefs": [ |
56 |
"aoColumnDefs": [ |
50 |
{ "aTargets": [ 0 ], "bSortable": false, "bSearchable": false }, |
57 |
{ "aTargets": [ 0 ], "bSortable": false, "bSearchable": false }, |
51 |
], |
58 |
], |
52 |
'bPaginate': false, |
59 |
'bPaginate': false, |
53 |
'bInfo': false, |
60 |
'bInfo': false, |
54 |
"bAutoWidth": false |
61 |
"bAutoWidth": false |
55 |
} ) ); |
62 |
}, columns_settings); |
56 |
|
63 |
|
57 |
}); |
64 |
}); |
58 |
function Check(f) { |
65 |
function Check(f) { |
Lines 134-142
function confirm_deletion() {
Link Here
|
134 |
<thead> |
141 |
<thead> |
135 |
<tr> |
142 |
<tr> |
136 |
<th> </th> |
143 |
<th> </th> |
137 |
[% FOREACH item_header_loo IN item_header_loop %] |
144 |
[% FOREACH item_header IN item_header_loop %] |
138 |
<th> |
145 |
[% IF item_header.column_name %] |
139 |
[% item_header_loo.header_value %] |
146 |
<th data-colname="[% item_header.column_name %]"> |
|
|
147 |
[% ELSE %] |
148 |
<th> |
149 |
[% END %] |
150 |
[% item_header.header_value %] |
140 |
</th> |
151 |
</th> |
141 |
[% END %] |
152 |
[% END %] |
142 |
</tr> |
153 |
</tr> |
143 |
- |
|
|