forked from External/greenlight
add participants to recordings table
This commit is contained in:
@ -25,6 +25,11 @@ json.recordings do
|
||||
json.published recording[:published]
|
||||
json.length recording[:length]
|
||||
json.listed recording[:listed]
|
||||
if recording[:participants].is_a? String
|
||||
json.participants recording[:participants]
|
||||
else
|
||||
json.participants nil
|
||||
end
|
||||
json.previews do
|
||||
json.array!(recording[:previews]) do |preview|
|
||||
json.partial! 'preview', preview: preview
|
||||
|
@ -35,6 +35,7 @@
|
||||
<th><%= t('name') %></th>
|
||||
<th><%= t('thumbnails') %></th>
|
||||
<th><%= t('duration') %></th>
|
||||
<th><%= t('participants') %></th>
|
||||
<th></th>
|
||||
<th><%= t('visibility') %></th>
|
||||
<th>published</th>
|
||||
|
Reference in New Issue
Block a user