diff --git a/app/views/attendance_tracker/index.html.erb b/app/views/attendance_tracker/index.html.erb index fe3c1bf..48f3b6a 100644 --- a/app/views/attendance_tracker/index.html.erb +++ b/app/views/attendance_tracker/index.html.erb @@ -4,8 +4,8 @@ <% @courses.each do |course| %>
-
-
+
+

<%= course.title %>

@@ -15,6 +15,7 @@ + @@ -36,9 +37,8 @@ <%= lecture.start_time.to_fs(:dmy) %> - <% if lecture.cancelled %> - + <% else %> - <% if lecture.recording %> - <%= link_to "Open recording", lecture.recording&.recording_url %> - <% end %> + <% end %>
Date Status ActionRecording
+
Cancelled
@@ -55,6 +55,8 @@ %>
+
@@ -83,10 +85,12 @@ class: 'action-button' %>
+ <% end %> +
+ <% if lecture.recording %> + <%= link_to "Open recording", lecture.recording&.recording_url %> <% end %>