Improve icons, add homepage links to courses
Build and Publish Docker Container / build (push) Successful in 5m28s
Build and Publish Docker Container / build (push) Successful in 5m28s
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user