Lines 1-6
Link Here
|
1 |
[% USE raw %] |
1 |
[% USE raw %] |
2 |
[% USE Asset %] |
2 |
[% USE Asset %] |
3 |
[% SET footerjs = 1 %] |
3 |
[% SET footerjs = 1 %] |
|
|
4 |
[% USE TablesSettings %] |
4 |
[% INCLUDE 'doc-head-open.inc' %] |
5 |
[% INCLUDE 'doc-head-open.inc' %] |
5 |
<title>Koha › Administration › [% IF op =='add_form' %]Cities › [% IF city.cityid %] Modify city[% ELSE %] New city[% END %][% ELSE %][% IF op == 'delete_confirm' %]Cities › Confirm deletion of city[% ELSE %] Cities[% END %][% END %]</title> |
6 |
<title>Koha › Administration › [% IF op =='add_form' %]Cities › [% IF city.cityid %] Modify city[% ELSE %] New city[% END %][% ELSE %][% IF op == 'delete_confirm' %]Cities › Confirm deletion of city[% ELSE %] Cities[% END %][% END %]</title> |
6 |
[% INCLUDE 'doc-head-close.inc' %] |
7 |
[% INCLUDE 'doc-head-close.inc' %] |
Lines 167-174
Link Here
|
167 |
[% MACRO jsinclude BLOCK %] |
168 |
[% MACRO jsinclude BLOCK %] |
168 |
[% Asset.js("js/admin-menu.js") | $raw %] |
169 |
[% Asset.js("js/admin-menu.js") | $raw %] |
169 |
[% INCLUDE 'datatables.inc' %] |
170 |
[% INCLUDE 'datatables.inc' %] |
|
|
171 |
[% INCLUDE 'columns_settings.inc' %] |
170 |
<script> |
172 |
<script> |
171 |
|
173 |
|
|
|
174 |
var columns_settings = [% TablesSettings.GetColumns( 'admin', 'cities', 'table_cities', 'json' ) | $raw %]; |
172 |
$(document).ready(function() { |
175 |
$(document).ready(function() { |
173 |
var cities_table_url = '/api/v1/cities?'; |
176 |
var cities_table_url = '/api/v1/cities?'; |
174 |
|
177 |
|
Lines 233-239
Link Here
|
233 |
"orderable": false |
236 |
"orderable": false |
234 |
} |
237 |
} |
235 |
] |
238 |
] |
236 |
}, [], 1); |
239 |
}, columns_settings, 1); |
237 |
|
240 |
|
238 |
}); |
241 |
}); |
239 |
</script> |
242 |
</script> |
240 |
- |
|
|