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

View File

@ -36,6 +36,7 @@ with BigBlueButton; if not, see <http://www.gnu.org/licenses/>.
<table id="recordings" class="table" width="100%"> <table id="recordings" class="table" width="100%">
<thead> <thead>
<th><%= t('date_recorded') %></th> <th><%= t('date_recorded') %></th>
<th><%= t('name') %></th>
<th><%= t('thumbnails') %></th> <th><%= t('thumbnails') %></th>
<th><%= t('duration') %></th> <th><%= t('duration') %></th>
<th><%= t('views') %></th> <th><%= t('views') %></th>

View File

@ -88,6 +88,7 @@ en-US:
body: "You have been invited by %{user} to a meeting.\n\nPlease open the following page in your web browser: &&URL&&" body: "You have been invited by %{user} to a meeting.\n\nPlease open the following page in your web browser: &&URL&&"
subject: "%{user} invited you to a meeting" subject: "%{user} invited you to a meeting"
my_room: my room my_room: my room
name: Name
no: No no: No
notification_mailer: notification_mailer:
recording_ready_email: recording_ready_email: