add recording name to table

This commit is contained in:
Zachary Chai
2017-01-31 16:19:09 -05:00
parent 43e58e402e
commit 2c2590cf18
3 changed files with 5 additions and 2 deletions

View File

@ -34,6 +34,7 @@ class @Recordings
},
columns: [
{ data: "start_time" },
{ data: "name", visible: $(".page-wrapper.rooms").data('main-room') },
{ data: "previews", orderable: false },
{ data: "duration", orderable: false },
{ data: "playbacks", orderable: false },
@ -55,7 +56,7 @@ class @Recordings
return data
},
{
targets: 1,
targets: 2,
render: (data, type, row) ->
if type == 'display'
str = ''
@ -66,7 +67,7 @@ class @Recordings
return data
},
{
targets: 3,
targets: 4,
render: (data, type, row) ->
if type == 'display'
str = ''