GRN2-217: Fixes issues with recording rows and localization (fixed #703-#705) (#707)

* Fixes issues with recording rows

* Fixed small typo related to logs
This commit is contained in:
farhatahmad
2019-07-31 11:45:15 -04:00
committed by Jesus Federico
parent d123d5add0
commit 02b342b157
8 changed files with 23 additions and 20 deletions

View File

@ -29,7 +29,7 @@
</div>
</td>
<% if recording_thumbnails? %>
<td>
<td class="overflow-hidden">
<% p = recording[:playbacks].find do |p| p.key?(:preview) end %>
<% if p %>
<% p[:preview][:images][:image].each do |img| %>
@ -39,15 +39,9 @@
</td>
<% end %>
<td id="recording-length" class="text-left" data-full-length="<%=recording[:playbacks].first[:length]%>">
<div class="small text-muted text-uppercase">
<%= t("recording.table.length") %>
</div>
<%= recording_length(recording[:playbacks]) %>
</td>
<td id="recording-users" class="text-left">
<div class="small text-muted text-uppercase">
<%= t("recording.table.users") %>
</div>
<%= recording[:participants] %>
</td>
<td class="text-left">

View File

@ -30,7 +30,7 @@
</div>
</td>
<% if recording_thumbnails? %>
<td>
<td class="overflow-hidden">
<% p = recording[:playbacks].find do |p| p.key?(:preview) end %>
<% if p %>
<% safe_recording_images(p[:preview][:images][:image]).each do |img| %>