mirror of
https://github.com/openSUSE/osem.git
synced 2026-08-13 19:54:02 +00:00
Introduce Program to include cfp/rooms/tracks/events/event_types/difficulty_levels
This commit is contained in:
parent
028b82fda8
commit
444356fbc7
117 changed files with 1812 additions and 905 deletions
|
|
@ -29,7 +29,7 @@ class Target < ActiveRecord::Base
|
|||
numerator =
|
||||
case unit
|
||||
when Target.units[:submissions]
|
||||
conference.events.where('created_at < ?', due_date).count
|
||||
conference.program.events.where('created_at < ?', due_date).count
|
||||
when Target.units[:registrations]
|
||||
conference.registrations.where('created_at < ?', due_date).count
|
||||
when Target.units[:program_minutes]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue