diff --git a/Tv7Playlist/Views/Home/Index.cshtml b/Tv7Playlist/Views/Home/Index.cshtml index ec25bd8..9896435 100644 --- a/Tv7Playlist/Views/Home/Index.cshtml +++ b/Tv7Playlist/Views/Home/Index.cshtml @@ -83,10 +83,26 @@ $(document).ready(function() { data: "epgMatchName", }, { - data: "isEnabled", + data: "isEnabled", + searchable: false, + render: function ( data, type, row, meta ) { + if (data) { + return 'Enabled' + } else { + return 'Disabled' + } + } }, { data: "isAvailable", + searchable: false, + render: function ( data, type, row, meta ) { + if (data) { + return 'yes' + } else { + return 'no' + } + } }, { data: "urlProxy", @@ -96,9 +112,17 @@ $(document).ready(function() { }, { data: "created", + searchable: false, + render: function ( data, type, row, meta ) { + return moment(data).format('YYYY-MM-DD HH:mm'); + } }, { data: "modified", + searchable: false, + render: function ( data, type, row, meta ) { + return moment(data).format('YYYY-MM-DD HH:mm'); + } } ], columnDefs: [