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 33-46
$(document).ready(function(){
Link Here
|
33 |
} |
36 |
} |
34 |
}); |
37 |
}); |
35 |
|
38 |
|
36 |
var itemst = $("#itemst").dataTable($.extend(true, {}, dataTablesDefaults, { |
39 |
var columns_settings = [% ColumnsSettings.GetColumns( 'cataloguing', 'additem', 'itemst', 'json' ) %] |
|
|
40 |
// Skip the first column |
41 |
columns_settings.unshift( { cannot_be_toggled: "1" } ); |
42 |
|
43 |
var itemst = KohaTable("#itemst", { |
37 |
"aoColumnDefs": [ |
44 |
"aoColumnDefs": [ |
38 |
{ "aTargets": [ 0 ], "bSortable": false, "bSearchable": false }, |
45 |
{ "aTargets": [ 0 ], "bSortable": false, "bSearchable": false }, |
39 |
], |
46 |
], |
40 |
'bPaginate': false, |
47 |
'bPaginate': false, |
41 |
'bInfo': false, |
48 |
'bInfo': false, |
42 |
"bAutoWidth": false |
49 |
"bAutoWidth": false |
43 |
} ) ); |
50 |
}, columns_settings); |
44 |
|
51 |
|
45 |
}); |
52 |
}); |
46 |
function Check(f) { |
53 |
function Check(f) { |
Lines 128-136
function confirm_deletion(biblionumber,itemnumber) {
Link Here
|
128 |
<thead> |
135 |
<thead> |
129 |
<tr> |
136 |
<tr> |
130 |
<th> </th> |
137 |
<th> </th> |
131 |
[% FOREACH item_header_loo IN item_header_loop %] |
138 |
[% FOREACH item_header IN item_header_loop %] |
132 |
<th> |
139 |
[% IF item_header.column_name %] |
133 |
[% item_header_loo.header_value %] |
140 |
<th data-colname="[% item_header.column_name %]"> |
|
|
141 |
[% ELSE %] |
142 |
<th> |
143 |
[% END %] |
144 |
[% item_header.header_value %] |
134 |
</th> |
145 |
</th> |
135 |
[% END %] |
146 |
[% END %] |
136 |
</tr> |
147 |
</tr> |
137 |
- |
|
|