Add review and prep actions
Build and Publish Docker Container / build (push) Has been cancelled

This commit is contained in:
2023-10-04 15:14:19 +01:00
parent 9621f6fa24
commit 6c8d2544e0
4 changed files with 34 additions and 0 deletions
@@ -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 %>