|
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 199-206
Link Here
|
| 199 |
[% MACRO jsinclude BLOCK %] |
200 |
[% MACRO jsinclude BLOCK %] |
| 200 |
[% Asset.js("js/admin-menu.js") | $raw %] |
201 |
[% Asset.js("js/admin-menu.js") | $raw %] |
| 201 |
[% INCLUDE 'datatables.inc' %] |
202 |
[% INCLUDE 'datatables.inc' %] |
|
|
203 |
[% INCLUDE 'columns_settings.inc' %] |
| 202 |
<script> |
204 |
<script> |
| 203 |
|
205 |
|
|
|
206 |
var columns_settings = [% TablesSettings.GetColumns( 'admin', 'cities', 'table_cities', 'json' ) | $raw %]; |
| 204 |
$(document).ready(function() { |
207 |
$(document).ready(function() { |
| 205 |
var cities_table_url = '/api/v1/cities?'; |
208 |
var cities_table_url = '/api/v1/cities?'; |
| 206 |
|
209 |
|
|
Lines 265-271
Link Here
|
| 265 |
"orderable": false |
268 |
"orderable": false |
| 266 |
} |
269 |
} |
| 267 |
] |
270 |
] |
| 268 |
}, [], 1); |
271 |
}, columns_settings, 1); |
| 269 |
|
272 |
|
| 270 |
}); |
273 |
}); |
| 271 |
</script> |
274 |
</script> |
| 272 |
- |
|
|