Lines 492-497
Libraries › Administration › Koha
Link Here
|
492 |
[% INCLUDE 'str/tinymce_i18n.inc' %] |
492 |
[% INCLUDE 'str/tinymce_i18n.inc' %] |
493 |
<script> |
493 |
<script> |
494 |
var table_settings = [% TablesSettings.GetTableSettings( 'admin', 'libraries', 'libraries', 'json' ) | $raw %]; |
494 |
var table_settings = [% TablesSettings.GetTableSettings( 'admin', 'libraries', 'libraries', 'json' ) | $raw %]; |
|
|
495 |
var saved_table = localStorage.getItem("DataTables_libraries_/cgi-bin/koha/admin/branches.pl"); |
496 |
var updated_settings = get_columns_saved_state(saved_table, table_settings); |
497 |
|
495 |
$(document).ready(function() { |
498 |
$(document).ready(function() { |
496 |
|
499 |
|
497 |
var libraries_url = '/api/v1/libraries'; |
500 |
var libraries_url = '/api/v1/libraries'; |
Lines 501-506
Libraries › Administration › Koha
Link Here
|
501 |
}, |
504 |
}, |
502 |
'embed': [ 'smtp_server' ], |
505 |
'embed': [ 'smtp_server' ], |
503 |
'emptyTable': '<div class="dialog message">'+_("There are no libraries defined.")+' <a href="/cgi-bin/koha/admin/branches.pl?op=add_form">'+_("Start defining libraries")+'</a>.</div>', |
506 |
'emptyTable': '<div class="dialog message">'+_("There are no libraries defined.")+' <a href="/cgi-bin/koha/admin/branches.pl?op=add_form">'+_("Start defining libraries")+'</a>.</div>', |
|
|
507 |
"stateSave": true, |
504 |
"columnDefs": [ { |
508 |
"columnDefs": [ { |
505 |
"targets": [0,1,3,4,7,9,10,11,12,13,14,15,16], |
509 |
"targets": [0,1,3,4,7,9,10,11,12,13,14,15,16], |
506 |
"render": function (data, type, row, meta) { |
510 |
"render": function (data, type, row, meta) { |
Lines 667-673
Libraries › Administration › Koha
Link Here
|
667 |
"orderable": false |
671 |
"orderable": false |
668 |
} |
672 |
} |
669 |
] |
673 |
] |
670 |
}, table_settings); |
674 |
}, updated_settings); |
671 |
|
675 |
|
672 |
[% UNLESS library %] |
676 |
[% UNLESS library %] |
673 |
$("#Aform").on("submit", function( event ) { |
677 |
$("#Aform").on("submit", function( event ) { |
674 |
- |
|
|