commit
5d5ad9348c
8 changed files with 300 additions and 195 deletions
|
|
@ -21,6 +21,9 @@ module Admin
|
|||
@difficulty_levels = @program.difficulty_levels
|
||||
@machine_states = @events.state_machine.states.map
|
||||
@event_types = @program.event_types
|
||||
@tracks_distribution_confirmed = @conference.tracks_distribution(:confirmed)
|
||||
@event_distribution = @conference.event_distribution
|
||||
@scheduled_event_distribution = @conference.scheduled_event_distribution
|
||||
|
||||
@mystates = []
|
||||
@mytypes = []
|
||||
|
|
|
|||
|
|
@ -9,6 +9,9 @@ module Admin
|
|||
@pdf_filename = "#{@conference.title}.pdf"
|
||||
@registrations = @conference.registrations.includes(:user).order('registrations.created_at ASC')
|
||||
@attended = @conference.registrations.where('attended = ?', true).count
|
||||
|
||||
@registration_distribution = @conference.registration_distribution
|
||||
@affiliation_distribution = @conference.affiliation_distribution
|
||||
end
|
||||
|
||||
def edit; end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue