Commit 52f41f33 authored by Mario Manno's avatar Mario Manno

rename call_for_papers to call_for_participation

parent 231f4642
......@@ -103,9 +103,9 @@ class ApplicationController < ActionController::Base
end
def check_cfp_open
if @conference.call_for_papers.nil?
if @conference.call_for_participation.nil?
redirect_to cfp_not_existing_path
elsif @conference.call_for_papers.start_date > Date.today
elsif @conference.call_for_participation.start_date > Date.today
redirect_to cfp_open_soon_path
end
end
......
class CallForPapersController < ApplicationController
before_filter :authenticate_user!
before_filter :not_submitter!
load_and_authorize_resource
def show
@call_for_papers = @conference.call_for_papers
end
def new
@call_for_papers = CallForPapers.new
end
def create
@call_for_papers = CallForPapers.new(call_for_papers_params)
@call_for_papers.conference = @conference
if @call_for_papers.save
redirect_to call_for_papers_path, notice: "Launched Call for Papers."
else
render action: "new"
end
end
def edit
@call_for_papers = @conference.call_for_papers
end
def update
@call_for_papers = @conference.call_for_papers
if @call_for_papers.update_attributes(call_for_papers_params)
redirect_to call_for_papers_path, notice: "Changes saved successfully!"
else
flash[:alert] = "Failed to update"
render action: "edit"
end
end
private
def call_for_papers_params
params.require(:call_for_papers).permit(:start_date, :end_date, :hard_deadline, :welcome_text, :info_url, :contact_email)
end
end
class CallForParticipationsController < ApplicationController
before_filter :authenticate_user!
before_filter :not_submitter!
load_and_authorize_resource
def show
@call_for_participation = @conference.call_for_participation
end
def new
@call_for_participation = CallForParticipation.new
end
def create
@call_for_participation = CallForParticipation.new(call_for_participation_params)
@call_for_participation.conference = @conference
if @call_for_participation.save
redirect_to call_for_participation_path, notice: "Launched Call for Participation."
else
render action: "new"
end
end
def edit
@call_for_participation = @conference.call_for_participation
end
def update
@call_for_participation = @conference.call_for_participation
if @call_for_participation.update_attributes(call_for_participation_params)
redirect_to call_for_participation_path, notice: "Changes saved successfully!"
else
flash[:alert] = "Failed to update"
render action: "edit"
end
end
private
def call_for_participation_params
params.require(:call_for_participation).permit(:start_date, :end_date, :hard_deadline, :welcome_text, :info_url, :contact_email)
end
end
......@@ -4,14 +4,14 @@ class Cfp::WelcomeController < ApplicationController
def not_existing
@user = User.new
unless @conference.call_for_papers.nil?
unless @conference.call_for_participation.nil?
redirect_to new_cfp_session_path
end
end
def open_soon
@user = User.new
unless @conference.call_for_papers.start_date > Date.today
unless @conference.call_for_participation.start_date > Date.today
redirect_to new_cfp_session_path
end
end
......
......@@ -4,7 +4,7 @@ class RecentChangesController < ApplicationController
before_filter :not_submitter!
def index
authorize! :manage, CallForPapers
authorize! :manage, CallForParticipation
@all_versions = PaperTrail::Version.where(conference_id: @conference.id).order("created_at DESC")
@versions = @all_versions.paginate(
page: page_param,
......@@ -17,7 +17,7 @@ class RecentChangesController < ApplicationController
end
def show
authorize! :manage, CallForPapers
authorize! :manage, CallForParticipation
@version = PaperTrail::Version.where(conference_id: @conference.id, id: params[:id]).first
end
......
......@@ -7,7 +7,7 @@ class ReportsController < ApplicationController
end
def show_events
authorize! :manage, CallForPapers
authorize! :manage, CallForParticipation
@report_type = params[:id]
@events = []
......@@ -52,7 +52,7 @@ class ReportsController < ApplicationController
end
def show_people
authorize! :manage, CallForPapers
authorize! :manage, CallForParticipation
@report_type = params[:id]
@people = []
......@@ -90,7 +90,7 @@ class ReportsController < ApplicationController
end
def show_statistics
authorize! :manage, CallForPapers
authorize! :manage, CallForParticipation
@report_type = params[:id]
@search_count = 0
......
module CallForPapersHelper
require 'securerandom'
module CallForParticipationsHelper
def available_locales(conference)
codes = conference.language_codes
codes | Person.involved_in(conference).map { |p| p.languages.all }.flatten.map{|l| l.code.downcase }
codes | Person.involved_in(conference).map { |p| p.languages.all }.flatten.map { |l| l.code.downcase }
end
def get_uuid
SecureRandom.uuid
end
end
module Cfp::PeopleHelper
def cfp_hard_deadline_over?
return false unless @conference.call_for_papers.hard_deadline
Date.today > @conference.call_for_papers.hard_deadline
return false unless @conference.call_for_participation.hard_deadline
Date.today > @conference.call_for_participation.hard_deadline
end
end
......@@ -2,11 +2,11 @@
#
# can :manage, EventRating, person_id: user.person.id
#
# This means a user passes every check for EventRating the class, but may
# This means a user passes every check for EventRating the class, but may
# only :manage @event_rating if it belongs to her.
# see: https://github.com/ryanb/cancan/wiki/Checking-Abilities
#
# "Important: If a block or hash of conditions exist they will be ignored
# "Important: If a block or hash of conditions exist they will be ignored
# when checking on a class, and it will return true."
#
# As a solution, instead of manage, crud is used for the hash condition.
......@@ -64,9 +64,9 @@ class Ability
end
# when /guest/
# can visit the cfp page
# can visit the cfp page
# can create/confirm an account
# can view the published schedule
# can view the published schedule
# can give feedback on events
end
......@@ -74,7 +74,7 @@ class Ability
crew_role = get_conference_role
case crew_role
when /orga/
can :manage, CallForPapers
can :manage, CallForParticipation
can [:read, :read_nested_conference, :edit_ticket_server, :update], Conference, id: @conference.id
......@@ -97,7 +97,7 @@ class Ability
when /coordinator/
# coordinates speakers and their events
# everything from reviewer
can [:create, :read, :update], CallForPapers
can [:create, :read, :update], CallForParticipation
can [:read, :read_nested_conference], Conference
can :crud, Event, conference_id: @conference.id
......@@ -108,7 +108,7 @@ class Ability
# reviews events prior to conference schedule release
# everything from submitter
# edit own event rating
can :read, CallForPapers
can :read, CallForParticipation
can [:read, :read_nested_conference], Conference
can :read, Event, conference_id: @conference.id
......
class CallForPapers < ActiveRecord::Base
class CallForParticipation < ActiveRecord::Base
belongs_to :conference
......@@ -7,7 +7,7 @@ class CallForPapers < ActiveRecord::Base
has_paper_trail
def to_s
"Call for Papers: #{self.conference.title}"
"Call for Participation: #{self.conference.title}"
end
end
......@@ -11,7 +11,7 @@ class Conference < ActiveRecord::Base
has_many :rooms, dependent: :destroy
has_many :tracks, dependent: :destroy
has_many :conference_exports, dependent: :destroy
has_one :call_for_papers, dependent: :destroy
has_one :call_for_participation, dependent: :destroy
has_one :ticket_server, dependent: :destroy
accepts_nested_attributes_for :rooms, reject_if: proc {|r| r["name"].blank?}, allow_destroy: true
......
= simple_form_for @call_for_papers, url: call_for_papers_path do |f|
= simple_form_for @call_for_participation, url: call_for_participation_path do |f|
%fieldset.inputs
= f.input :start_date, :hint => "Pick a date when your CfP should be open for the public."
= f.input :end_date, :hint => "Pick a deadline for paper submission. This deadline will be displayed to the users but not otherwise enforced."
= f.input :hard_deadline, :hint => "Pick a hard deadline. No paper submission will be possible after this date. Leave empty if you want to allow submissions indefinitely."
= f.input :welcome_text, :hint => "Enter a welcome message or additional instructions you want to display to participants. (HTML)"
= f.input :info_url, :hint => "A web page that contains additional information about the Call for Papers. Please enter a full URL including 'http://'"
= f.input :info_url, :hint => "A web page that contains additional information about the Call for Participation. Please enter a full URL including 'http://'"
= f.input :contact_email, :hint => "An email address where participants can contact you in case they have any questions."
.actions
= f.button :submit, class: 'primary'
%section
.page-header
%h1 Edit Call for Papers
%h1 Edit Call for Participation
.row
.span16
......
%section
.page-header
%h1 Launch a Call for Papers
%h1 Launch a Call for Participation
.row
.span16
= render "form"
%section
.page-header
.pull-right
- if can? :manage, CallForPapers
= action_button "primary", "Edit", edit_call_for_papers_path, :hint => "Edit this call for paper's data."
%h1 Call for Papers
- if @conference.call_for_papers.welcome_text
- if can? :manage, CallForParticipation
= action_button "primary", "Edit", edit_call_for_participation_path, :hint => "Edit this call for paper's data."
%h1 Call for Participation
- if @conference.call_for_participation.welcome_text
.row
.span16
%p
= simple_format @conference.call_for_papers.welcome_text
- if @conference.call_for_papers.start_date
= simple_format @conference.call_for_participation.welcome_text
- if @conference.call_for_participation.start_date
.row
.span16
%p The call for papers starts at #{l(@conference.call_for_papers.start_date)} and ends at #{l(@conference.call_for_papers.end_date)}.
%p The call for papers starts at #{l(@conference.call_for_participation.start_date)} and ends at #{l(@conference.call_for_participation.end_date)}.
.row
.span16
%p
......
......@@ -31,14 +31,14 @@
= action_button "success", t("cfp.edit_profile"), edit_cfp_person_path
.span8
%h2=t("cfp.information_headline")
- unless @conference.call_for_papers.info_url.blank?
%p=t("cfp.info_url_description_html", :link => link_to(@conference.call_for_papers.info_url, @conference.call_for_papers.info_url))
- unless @conference.call_for_participation.info_url.blank?
%p=t("cfp.info_url_description_html", :link => link_to(@conference.call_for_participation.info_url, @conference.call_for_participation.info_url))
%p
=t("cfp.deadline_description")
%b= l(@conference.call_for_papers.end_date)
- unless @conference.call_for_papers.contact_email.blank?
%b= l(@conference.call_for_participation.end_date)
- unless @conference.call_for_participation.contact_email.blank?
%h2=t("cfp.contact_headline")
%p=t("cfp.contact_description_html", :mail_to => mail_to(@conference.call_for_papers.contact_email))
%p=t("cfp.contact_description_html", :mail_to => mail_to(@conference.call_for_participation.contact_email))
.row
.span16
- if @person.events_in(@conference).size > 0
......
......@@ -8,13 +8,13 @@
= link_to locale.to_s, url_for( :locale => locale )
%h1
= @conference.title
\- Call for Papers
\- Call for Participation
.row
.span16
= render "shared/flash", :flash => flash
- if @conference.call_for_papers.welcome_text
- if @conference.call_for_participation.welcome_text
%p
= simple_format @conference.call_for_papers.welcome_text
= simple_format @conference.call_for_participation.welcome_text
- else
%p=t("cfp.welcome_text", :title => @conference.title)
.row
......
......@@ -10,7 +10,7 @@
%p
Thank you for your interest in participating in #{@conference.title}.
%p
Unfortunately, the Call for Papers does not (yet?) exist.
Unfortunately, the Call for Participation does not (yet?) exist.
.row
.span16
= render "shared/flash", :flash => flash
......
......@@ -8,12 +8,12 @@
%p
Thank you for your interest in participating in #{@conference.title}.
%p
Unfortunately, the Call for Papers has not yet started. Please bear with us
Unfortunately, the Call for Participation has not yet started. Please bear with us
and leave us a little more time for our preparations.
%p
The Call for Papers will start on
The Call for Participation will start on
= succeed "." do
%b= @conference.call_for_papers.start_date
%b= @conference.call_for_participation.start_date
Please return
at or after this date. We are looking forward to your submission.
.row
......
%section
.page-header
%h1 Edit Call for Papers
%h1 Edit Call for Participation
= render partial: 'tabs', locals: { active: :notifications }
.row
......
......@@ -4,7 +4,7 @@
- if can? :crud, @event
= action_button "primary", "Edit event", edit_event_path(@event), :hint => "Edit this event's data."
= action_button "primary", "Edit people", edit_people_event_path(@event), :hint => "Edit this event's data."
- if @conference.ticket_type == 'integrated' and @conference.call_for_papers.present?
- if @conference.ticket_type == 'integrated' and @conference.call_for_participation.present?
- if @event.transition_possible? :accept
= action_button "success", "Accept event", update_state_event_path(@event, transition: :accept, send_mail: true), method: :put, hint: "Accept this event. The speaker(s) will be notified of the acceptance via email. If they have access to the call for papers system, they will receive a link to confirm their attendance as well."
- if @event.transition_possible? :reject
......
......@@ -11,7 +11,7 @@
to the <em>Conference Settings</em> tab above
and add a room to this conference. This will
be needed to schedule your program.
- if @conference.events.count == 0 and @conference.call_for_papers.nil?
- if @conference.events.count == 0 and @conference.call_for_participation.nil?
.blank-slate
%p
This conference does not yet have any events.
......@@ -21,14 +21,14 @@
they are talks, workshops, panels or something
else entirely).
%p
Start adding events by clicking on the
<em>Events</em> tab above. Or start a call for
Start adding events by clicking on the
<em>Events</em> tab above. Or start a call for
papers, to allow others to submit events for
you to review.
- if can? :manage, CallForPapers
- if can? :manage, CallForParticipation
.row
.span16
%h2
%h2
Recent changes
%small= link_to "more >>", recent_changes_path
- if @versions.empty?
......@@ -113,7 +113,7 @@
success: (data) ->
$.plot($("#event_language_graph"), data, {series: {pie: {show: true}}})
)
update_gender_breakdown = (accepted_only = false) ->
if accepted_only
params = {"accepted_only": 1}
......
......@@ -30,14 +30,14 @@
- if can? :administrate, Person
%li= link_to t("people", :default => "People"), url_for(:action => 'index', :controller => 'people')
%li= link_to t("events", :default => "Events"), events_path
- if can? :manage, CallForPapers
- if can? :manage, CallForParticipation
%li= link_to t("reports", :default => "Reports"), reports_path
%li
- if @conference.call_for_papers
= link_to t(:call_for_papers, :default => "Call for Papers"), call_for_papers_path
- elsif can? :manage, CallForPapers
= link_to t(:launch_call_for_papers, :default => "Launch Call for Papers"), new_call_for_papers_path
- if can? :manage, CallForPapers
- if @conference.call_for_participation
= link_to t(:call_for_participation, :default => "Call for Participation"), call_for_participation_path
- elsif can? :manage, CallForParticipation
= link_to t(:launch_call_for_participation, :default => "Launch Call for Participation"), new_call_for_participation_path
- if can? :manage, CallForParticipation
%li= link_to t("schedule", :default => "Schedule"), schedule_path
- if can? :update, @conference
%li= link_to t("settings", :default => "Settings"), edit_conference_path(@conference)
......
......@@ -3,7 +3,7 @@
%head
%title
= @conference.title
\- Call for Papers
\- Call for Participation
= stylesheet_link_tag "application"
= javascript_include_tag "application", "admin"
= csrf_meta_tags
......@@ -12,10 +12,10 @@
.topbar
.fill
.container
- if @conference.call_for_papers.nil?
= link_to @conference.title + " - Call for Papers", new_cfp_session_path, class: "brand"
- if @conference.call_for_participation.nil?
= link_to @conference.title + " - Call for Participation", new_cfp_session_path, class: "brand"
- else
= link_to @conference.title + " - Call for Papers", cfp_root_path, class: "brand"
= link_to @conference.title + " - Call for Participation", cfp_root_path, class: "brand"
- if current_user and current_user.person
%ul.nav.secondary-nav.pull-right
- conferences = Conference.creation_order.has_submission(current_user.person)
......
......@@ -3,7 +3,7 @@
%head
%title
= @conference.title
\- Call for Papers
\- Call for Participation
= stylesheet_link_tag "application"
= csrf_meta_tags
%body
......@@ -12,9 +12,9 @@
.fill
.container
- if @conference
= link_to @conference.title + " - Call for Papers", new_cfp_session_path, :class => "brand"
= link_to @conference.title + " - Call for Participation", new_cfp_session_path, :class => "brand"
- else
= link_to 'Call for Papers', '#', :class => 'brand'
= link_to 'Call for Participation', '#', :class => 'brand'
%ul.nav.secondary-nav.pull-right
- if current_user
%li= link_to t("logout", :default => "Logout"), cfp_session_path, :method => :delete
......
......@@ -14,7 +14,3 @@
# ActiveSupport::Inflector.inflections(:en) do |inflect|
# inflect.acronym 'RESTful'
# end
ActiveSupport::Inflector.inflections do |inflect|
inflect.uncountable "call_for_papers"
end
......@@ -43,12 +43,12 @@ de:
forgot_password_headline: "Passwort vergessen?"
hard_deadline_over: "Es tut uns sehr leid, aber der Zeitraum zur Einreichung ist verstrichen."
im_accounts: "Instant Messaging Accounts"
info_url_description_html: "Sind Sie unsicher, was Sie einreichen sollen? Alle Infos zum Call for Papers gibt es hier: %{link}"
info_url_description_html: "Sind Sie unsicher, was Sie einreichen sollen? Alle Infos zum Call for Participation gibt es hier: %{link}"
information_headline: "Information"
input_appreciation: "Vielen Dank für Ihre bisherigen Einreichungen. Gerne können Sie einen weiteren Vorschlag einreichen:"
languages_spoken: "Gesprochene Sprachen"
links: "Links"
login_existing_description: "Sie können sich anmelden, wenn Sie bereits für diesen, oder einen früheren Call for Papers, registriert sind."
login_existing_description: "Sie können sich anmelden, wenn Sie bereits für diesen, oder einen früheren Call for Participation, registriert sind."
login_existing_headline: "Einloggen mit existierendem Account"
looking_for_login_form: "Suchen Sie den Login für Vortragende?"
no_confirmation_token: "Kein Bestätigungsschlüssel gefunden. Vermutlich haben Sie den Schlüssel bereits erfolgreich zuvor verwendet. Bitte loggen Sie sich ein und prüfen Sie den Status Ihrer Einreichung."
......@@ -85,6 +85,6 @@ de:
updated: "Erfolgreich gespeichert."
uploaded_files: "Hochgeladene Dateien"
welcome: "Willkommen"
welcome_text: "Willkommen beim Call for Papers. Zum Erstellen oder Bearbeiten von Einreichungen muss man eingeloggt sein. Wenn Sie hier neu sind, müssen Sie sich kurz registrieren."
welcome_text: "Willkommen beim Call for Participation. Zum Erstellen oder Bearbeiten von Einreichungen muss man eingeloggt sein. Wenn Sie hier neu sind, müssen Sie sich kurz registrieren."
withdraw: "zurückziehen"
withdrawal_confirmation: "Wollen Sie diesen Vorschlag wirklich zurückziehen?"
......@@ -43,12 +43,12 @@ en:
forgot_password_headline: "Forgot your password?"
hard_deadline_over: "Sorry, the deadline for submitting events is over."
im_accounts: "Instant messaging accounts"
info_url_description_html: "Unsure what to submit? Read all about the Call for Papers at: %{link}"
info_url_description_html: "Unsure what to submit? Read all about the Call for Participation at: %{link}"
information_headline: "Information"
input_appreciation: "We really appreciate your input so far. Feel free to submit another event:"
languages_spoken: "Languages spoken"
links: "Links"
login_existing_description: "You can sign in if you created an account for this Call for Papers, or for any previous event."
login_existing_description: "You can sign in if you created an account for this Call for Participation, or for any previous event."
login_existing_headline: "Log in with an existing account"
looking_for_login_form: "Suchen Sie den Login für Vortragende?"
no_confirmation_token: "Your confirmation key is not valid. Please check your event status in the call for papers interface."
......@@ -85,6 +85,6 @@ en:
updated: "Successfully updated."
uploaded_files: "Uploaded files"
welcome: "Welcome"
welcome_text: "Welcome to the Call for Papers. To create or review your submissions you need to login. If you are new to %{title} you need to sign up for an account."
welcome_text: "Welcome to the Call for Participation. To create or review your submissions you need to login. If you are new to %{title} you need to sign up for an account."
withdraw: "withdraw"
withdrawal_confirmation: "Really withdraw this event from the Call for Papers?"
withdrawal_confirmation: "Really withdraw this event from the Call for Participation?"
......@@ -2,7 +2,7 @@ de:
actions: "Aktionen"
add_association: "%{name} hinzufügen"
basic_information: "Grundlegende Informationen"
call_for_papers: "Call for Papers"
call_for_participation: "Call for Participation"
create_new_conference: "Neue Konferenz erstellen"
create_your_first_conference: "Erste Konferenz erstellen"
days: "Tage"
......@@ -17,7 +17,7 @@ de:
event_languages: "Veranstaltungssprachen"
events: "Veranstaltungen"
feedback_system: "Feedback-System"
launch_call_for_papers: "Call for Papers starten"
launch_call_for_participation: "Call for Participation starten"
new_conference: "Neue Konferenz"
people: "Personen"
remove_association: "%{name} entfernen"
......
......@@ -2,7 +2,7 @@ en:
actions: "Actions"
add_association: "Add %{name}"
basic_information: "Basic information"
call_for_papers: "Call for Papers"
call_for_participation: "Call for Participation"
create_new_conference: "Create new conference"
create_your_first_conference: "Create your first conference"
days: "Days"
......
......@@ -2,7 +2,7 @@ pt-BR:
actions: "Ações"
add_association: "adicionar %{name}"
basic_information: "Informações básicas"
call_for_papers: "Chamada de Trabalhos"
call_for_participation: "Chamada de Trabalhos"
create_new_conference: "Criar nova conferência"
create_your_first_conference: "Crie a sua primeira conferência"
days: "Dias"
......@@ -16,7 +16,7 @@ pt-BR:
event_languages: "Línguagens do evento"
events: "Eventos"
feedback_system: "Sistema de Feedback"
launch_call_for_papers: "Iniciar Chamada de Trabalhos"
launch_call_for_participation: "Iniciar Chamada de Trabalhos"
new_conference: "Nova conferência"
people: "Pessoas"
remove_association: "Remover %{name}"
......
......@@ -86,7 +86,7 @@ Frab::Application.routes.draw do
end
get "/conferences/default_notifications" => "conferences#default_notifications", as: "conferences_default_notifications"
resource :call_for_papers
resource :call_for_participation
resources :people do
resource :user
......
class RenameCallForPapersToCallForParticipation < ActiveRecord::Migration
def up
rename_table :call_for_papers, :call_for_participations
end
def down
rename_table :call_for_participations, :call_for_papers
end
end
......@@ -11,7 +11,7 @@
#
# It's strongly recommended that you check this file into your version control system.
ActiveRecord::Schema.define(version: 20150815181454) do
ActiveRecord::Schema.define(version: 20150817065210) do
create_table "availabilities", force: :cascade do |t|
t.integer "person_id"
......@@ -26,7 +26,7 @@ ActiveRecord::Schema.define(version: 20150815181454) do
add_index "availabilities", ["conference_id"], name: "index_availabilities_on_conference_id"
add_index "availabilities", ["person_id"], name: "index_availabilities_on_person_id"
create_table "call_for_papers", force: :cascade do |t|
create_table "call_for_participations", force: :cascade do |t|
t.date "start_date", null: false
t.date "end_date", null: false
t.date "hard_deadline"
......@@ -38,7 +38,7 @@ ActiveRecord::Schema.define(version: 20150815181454) do
t.string "contact_email", limit: 255
end
add_index "call_for_papers", ["start_date", "end_date"], name: "index_call_for_papers_on_dates"
add_index "call_for_participations", ["start_date", "end_date"], name: "index_call_for_papers_on_dates"
create_table "conference_exports", force: :cascade do |t|
t.string "locale", limit: 255
......
......@@ -20,7 +20,7 @@ class ImportExportHelper
ActiveRecord::Base.transaction do
dump "conference", @conference
dump "conference_tracks", @conference.tracks
dump "conference_cfp", @conference.call_for_papers
dump "conference_cfp", @conference.call_for_participation
dump "conference_ticket_server", @conference.ticket_server
dump "conference_rooms", @conference.rooms
dump "conference_days", @conference.days
......@@ -119,7 +119,7 @@ class ImportExportHelper
}.each { |var|
obj.send("#{var}=",yaml[var])
}
obj.call_for_papers_id = @mappings[:cfp][obj.call_for_papers_id]
obj.call_for_participation_id = @mappings[:cfp][obj.call_for_participation_id]
obj.confirmed_at ||= Time.now
obj.person = @mappings[:people_user][id]
unless obj.valid?
......@@ -161,7 +161,7 @@ class ImportExportHelper
@mappings[:tracks][id] = obj.id
end
restore("conference_cfp", CallForPapers) do |id, obj|
restore("conference_cfp", CallForParticipation) do |id, obj|
obj.conference_id = @conference_id
obj.save!
@mappings[:cfp][id] = obj.id
......
......@@ -90,7 +90,7 @@ class PentabarfImportHelper