Skip to content

Commit

Permalink
LTI-376: Add a recording playback format catch all (#324) (#363)
Browse files Browse the repository at this point in the history
  • Loading branch information
Mariam05 authored Nov 5, 2024
1 parent 14a3d88 commit 43ae1b4
Showing 1 changed file with 12 additions and 2 deletions.
14 changes: 12 additions & 2 deletions app/views/shared/components/_recording_row.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@
</div>
<% end %>
<% elsif p[:type] == 'video' %>
<%= link_to p[:url], :'data-toggle' => 'tooltip' , title: p[:type], target: "_blank", class: "hover:bg-white hover:text-blue-700" do %>
<%= link_to p[:url], :'data-toggle' => 'tooltip' , title: p[:type], target: "_blank", class: "mr-4 hover:bg-white hover:text-blue-700" do %>
<div class="bg-gray-200 p-2 rounded hover:bg-gray-300">
<div class= "bg-bbb-blue rounded-full">
<svg xmlns="http://www.w3.org/2000/svg" class="h-5 w-5 bg-bbb-blue text-white m-2 " fill="none" viewBox="0 0 22 22" stroke="currentColor" stroke-width="2">
Expand All @@ -152,7 +152,17 @@
</svg>
</div>
</div>
<% end %>
<% end %>
<% else # other format %>
<%= link_to p[:url], :'data-toggle' => 'tooltip' , title: p[:type], target: "_blank", class: "mr-4 hover:bg-white hover:text-blue-700" do %>
<div class="bg-gray-200 p-2 rounded hover:bg-gray-300">
<div class= "bg-bbb-blue rounded-full">
<svg xmlns="http://www.w3.org/2000/svg" class="h-5 w-5 bg-bbb-blue text-white m-2" fill="none" viewBox="0 0 22 22" stroke-width="1.5" stroke="currentColor" >
<path stroke-linecap="round" stroke-linejoin="round" d="M13.19 8.688a4.5 4.5 0 011.242 7.244l-4.5 4.5a4.5 4.5 0 01-6.364-6.364l1.757-1.757m13.35-.622l1.757-1.757a4.5 4.5 0 00-6.364-6.364l-4.5 4.5a4.5 4.5 0 001.242 7.244" />
</svg>
</div>
</div>
<% end %>
<% end %>
<% end %> <%# end of unless %>
<% end %> <%# end of sorted playbacks %>
Expand Down

0 comments on commit 43ae1b4

Please sign in to comment.