View | Details | Raw Unified | Return to bug 41564
Collapse All | Expand All

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/file_transports.tt (-5 / +5 lines)
Lines 461-467 Link Here
461
    [% INCLUDE 'datatables.inc' %]
461
    [% INCLUDE 'datatables.inc' %]
462
    <script>
462
    <script>
463
        const i18n = {
463
        const i18n = {
464
            on: "[% tp("Active", "On") | html %]"
464
            on: "[% tp("Active", "On") | html %]",
465
            passive: "[% tp('FTP connection mode', '(passive)') | html %]",
465
        };
466
        };
466
    </script>
467
    </script>
467
    <script>
468
    <script>
Lines 506-516 Link Here
506
                        orderable: false,
507
                        orderable: false,
507
                    },
508
                    },
508
                    {
509
                    {
509
                        "data": "transport",
510
                        data: "transport",
510
                        "render": function(data, type, row, meta) {
511
                        render: function (data, type, row, meta) {
511
                            var transport = data.toUpperCase();
512
                            var transport = data.toUpperCase();
512
                            if (data == "ftp" && row.passive == 1) {
513
                            if (data == "ftp" && row.passive == 1) {
513
                                transport += " [% tp('FTP connection mode', '(passive)') | html %]";
514
                                transport += i18n.passive;
514
                            }
515
                            }
515
                            return transport;
516
                            return transport;
516
                        },
517
                        },
517
- 

Return to bug 41564