hide thumbnails subtitle if no thumbnails

This commit is contained in:
Josh 2017-06-22 16:40:59 -04:00
parent 7e16f042a5
commit 69406f9ec5
1 changed files with 1 additions and 1 deletions

View File

@ -63,7 +63,7 @@
<% end %>
</table>
<br>
<p><%= t('thumbnails') %>:</p>
<p><%= (t('thumbnails') + ':') if @recording[:previews].length > 0 %></p>
<% @recording[:previews].each do |preview| %>
<img style = "display:inline;" src = "<%= preview[:url] %>" alt = "<%= preview[:alt] %>">
<% end %>