Improve icons, add homepage links to courses
Build and Publish Docker Container / build (push) Successful in 5m28s

This commit is contained in:
2023-10-08 16:38:40 +01:00
parent b2d8ee0dd9
commit f712837f91
6 changed files with 29 additions and 5 deletions
+6 -2
View File
@@ -19,8 +19,12 @@
<i class="fa fa-hourglass-start <%= prep_icon_class %>"></i>
<% if lecture.attended? %>
<i class="fa fa-chalkboard-user text-green-700"></i>
<% elsif lecture.live? %>
<% if lecture.entirely_attended_in_person? %>
<i class="fa fa-chalkboard-user text-green-700"></i>
<% else %>
<i class="fa fa-video text-green-700"></i>
<% end %>
<% elsif lecture.is_live? %>
<i class="fa fa-video text-blue-700"></i>
<% elsif lecture.start_time.past? %>
<i class="fa fa-times text-red-700"></i>