Remove lecture cancellation display

This commit is contained in:
Joshua Coles 2023-10-08 16:21:55 +01:00
parent c8b688ce57
commit 9da49ceed8

View File

@ -9,13 +9,6 @@
<%= lecture.start_time.to_fs(:dmy) %>
</td>
<% if lecture.cancelled %>
<td class="whitespace-nowrap px-3 py-4 text-sm text-gray-500" colspan="3">
<div class="flex justify-center">
Cancelled
</div>
</td>
<% else %>
<td class="whitespace-nowrap px-3 py-4 text-sm text-gray-500" data-controller="popover" data-action="mouseenter->popover#show mouseleave->popover#hide">
<div class="flex flex-row gap-2">
<% prep_icon_class = if lecture.prepared?
@ -86,5 +79,4 @@
<%= link_to "Open recording", lecture.recording&.recording_url %>
<% end %>
</td>
<% end %>
</tr>