Merge branch 'final_volunteers' of https://github.com/differentreality/osem into differentreality-final_volunteers
Conflicts: app/models/conference.rb app/models/registration.rb app/views/admin/conference/_sidebar.html.haml app/views/conference_registration/register.html.haml
This commit is contained in:
commit
14a896842b
31 changed files with 342 additions and 43 deletions
|
|
@ -2,7 +2,12 @@ class Conference < ActiveRecord::Base
|
|||
attr_accessible :title, :short_title, :social_tag, :contact_email, :timezone, :html_export_path,
|
||||
:start_date, :end_date, :rooms_attributes, :tracks_attributes, :dietary_choices_attributes,
|
||||
:use_dietary_choices, :use_supporter_levels, :supporter_levels_attributes, :social_events_attributes,
|
||||
<<<<<<< HEAD
|
||||
:event_types_attributes, :registration_start_date, :registration_end_date, :logo, :questions_attributes, :question_ids, :answers_attributes, :answer_ids, :difficulty_levels_attributes, :use_difficulty_levels
|
||||
=======
|
||||
:event_types_attributes, :registration_start_date, :registration_end_date, :logo, :use_vpositions, :use_vdays, :vdays_attributes,
|
||||
:vpositions_attributes
|
||||
>>>>>>> 64b2b8b3f8a62be1a4161d957c06a958debe89cc
|
||||
|
||||
has_paper_trail
|
||||
|
||||
|
|
@ -20,6 +25,9 @@ class Conference < ActiveRecord::Base
|
|||
has_many :difficulty_levels, :dependent => :destroy
|
||||
has_many :rooms, :dependent => :destroy
|
||||
has_many :registrations, :dependent => :destroy
|
||||
has_many :vdays, :dependent => :destroy
|
||||
has_many :vpositions, :dependent => :destroy
|
||||
has_many :vchoices, :dependent => :destroy
|
||||
|
||||
belongs_to :venue
|
||||
|
||||
|
|
@ -32,7 +40,12 @@ class Conference < ActiveRecord::Base
|
|||
accepts_nested_attributes_for :supporter_levels, :allow_destroy => true
|
||||
accepts_nested_attributes_for :event_types, :allow_destroy => true
|
||||
accepts_nested_attributes_for :email_settings
|
||||
<<<<<<< HEAD
|
||||
accepts_nested_attributes_for :questions, :allow_destroy => true
|
||||
=======
|
||||
accepts_nested_attributes_for :vdays, :allow_destroy => true
|
||||
accepts_nested_attributes_for :vpositions, :allow_destroy => true
|
||||
>>>>>>> 64b2b8b3f8a62be1a4161d957c06a958debe89cc
|
||||
|
||||
has_attached_file :logo,
|
||||
:styles => {:thumb => "100x100>", :large => "300x300>" }
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue