This commit is contained in:
@@ -48,6 +48,12 @@
|
||||
</td>
|
||||
|
||||
<td class="whitespace-nowrap px-3 py-4 text-sm text-gray-500">
|
||||
<div class="flex justify-center">
|
||||
<%= button_to "Prepare",
|
||||
lecture_start_preparation_path(id: lecture.id),
|
||||
class: 'action-button'
|
||||
%>
|
||||
</div>
|
||||
</td>
|
||||
<% else %>
|
||||
<td class="whitespace-nowrap px-3 py-4 text-sm text-gray-500 flex justify-center">
|
||||
@@ -71,6 +77,13 @@
|
||||
class: 'action-button'
|
||||
%>
|
||||
<% else %>
|
||||
<div class="flex justify-center">
|
||||
<%= button_to "Review",
|
||||
lecture_start_review_path(id: lecture.id),
|
||||
class: 'action-button'
|
||||
%>
|
||||
</div>
|
||||
|
||||
<% if lecture.recording %>
|
||||
<%= link_to "Open recording", lecture.recording&.recording_url %>
|
||||
<% end %>
|
||||
|
||||
Reference in New Issue
Block a user