From c706aa25613883f1f580f72fc492ec462d531511 Mon Sep 17 00:00:00 2001 From: Joshua Coles Date: Fri, 6 Oct 2023 21:04:34 +0100 Subject: [PATCH] Add status symbols for upcoming prep and review entries --- app/views/attendance_tracker/index.html.erb | 24 ++++++++++++--------- 1 file changed, 14 insertions(+), 10 deletions(-) diff --git a/app/views/attendance_tracker/index.html.erb b/app/views/attendance_tracker/index.html.erb index e5664d6..07fbc11 100644 --- a/app/views/attendance_tracker/index.html.erb +++ b/app/views/attendance_tracker/index.html.erb @@ -58,26 +58,30 @@ <% else %> - -
+ +
<% if lecture.attendance.nil? %> <% elsif lecture.attendance.kind == 'concurrent' %> + + + + <% elsif lecture.attendance.kind == 'catchup' %> <% else %> <% lecture.attendance.kind %> <% end %> - -
+ +