Upstream sync
This commit is contained in:
12
app/views/video_analyses/_file_releasable.html.erb
Normal file
12
app/views/video_analyses/_file_releasable.html.erb
Normal file
@@ -0,0 +1,12 @@
|
||||
<%= button_to_video_release_confirmation video, releasable, additional_video_release_params: { file_id: file.id } do %>
|
||||
<figure class="figure mb-0">
|
||||
<% if file.content_type.include? "image" %>
|
||||
<%= image_tag large_variant(file), class: "figure-img border", style: "width:200px;height:200px;" %>
|
||||
<% else %>
|
||||
<div class="figure-img border text-muted d-flex justify-content-center align-items-center text-wrap text-break" style="width:200px;height:200px;">
|
||||
<%= file.filename %>
|
||||
</div>
|
||||
<% end %>
|
||||
<figcaption class="figure-caption text-center"><%= truncate releasable.name, length: 25 %></figcaption>
|
||||
</figure>
|
||||
<% end %>
|
||||
Reference in New Issue
Block a user