From d96461663deb7738a7bb93f443b5ba07101c0a26 Mon Sep 17 00:00:00 2001 From: Antoine WEBER Date: Tue, 22 Sep 2015 16:10:10 +0200 Subject: [PATCH] datatables en francais --- views/channel.jade | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/views/channel.jade b/views/channel.jade index b229d60..ef9f6ad 100644 --- a/views/channel.jade +++ b/views/channel.jade @@ -30,5 +30,16 @@ block content td= video.size script. $(document).ready(function() { - $('#example').DataTable(); + $('#example').DataTable({ + "language": { + "url": "//cdn.datatables.net/plug-ins/1.10.8/i18n/French.json" + }/*, + "columnDefs": [ + { "targets": 2, + "searchable": false, + "orderable": false, + } + ]*/ + //"dom": '<"toolbar">frtip' + }); });