Bug 41564: Tidy kohaTable - admin/file_transports.tt
Signed-off-by: Owen Leonard <oleonard@myacpl.org> Signed-off-by: Paul Derscheid <paul.derscheid@lmscloud.de> Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
This commit is contained in:
parent
3206232bd8
commit
3435a23656
|
|
@ -459,6 +459,12 @@
|
|||
[% Asset.js("js/admin-menu.js") | $raw %]
|
||||
[% Asset.js("js/transport_status.js") | $raw %]
|
||||
[% INCLUDE 'datatables.inc' %]
|
||||
<script>
|
||||
const i18n = {
|
||||
on: "[% tp("Active", "On") | html %]";
|
||||
};
|
||||
</script>
|
||||
|
||||
<script>
|
||||
$(document).ready(function() {
|
||||
|
||||
|
|
@ -597,7 +603,7 @@
|
|||
"data": "debug",
|
||||
"render": function(data, type, row, meta) {
|
||||
if(data == true) {
|
||||
return "[% tp("Active", "On") | html %]";
|
||||
return i18n.on;
|
||||
}
|
||||
else {
|
||||
return _("Off");
|
||||
|
|
|
|||
Loading…
Reference in New Issue