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
+4
View File
@@ -19,6 +19,10 @@ class Lecture < ApplicationRecord
tracked_time_entries.where(kind: [:concurrent, :catchup]).any?
end
def entirely_attended_in_person?
!(tracked_time_entries.where(kind: [:catchup]).any?)
end
def reviewed?
tracked_time_entries.where(kind: [:review]).any?
end