Remove lecture cancellation display
This commit is contained in:
parent
c8b688ce57
commit
9da49ceed8
@ -9,13 +9,6 @@
|
|||||||
<%= lecture.start_time.to_fs(:dmy) %>
|
<%= lecture.start_time.to_fs(:dmy) %>
|
||||||
</td>
|
</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">
|
<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">
|
<div class="flex flex-row gap-2">
|
||||||
<% prep_icon_class = if lecture.prepared?
|
<% prep_icon_class = if lecture.prepared?
|
||||||
@ -86,5 +79,4 @@
|
|||||||
<%= link_to "Open recording", lecture.recording&.recording_url %>
|
<%= link_to "Open recording", lecture.recording&.recording_url %>
|
||||||
<% end %>
|
<% end %>
|
||||||
</td>
|
</td>
|
||||||
<% end %>
|
|
||||||
</tr>
|
</tr>
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user