@user.person.submitted_individual_paper_in?(@conference)and# has submitted individual paper in the conference
event.event_type=='Individual Paper'and# Is Individual Paper
event.conference==@conferenceand# Is in the correct conference
event.subcategory.in?(@user.person.subcategories_submitted_in(@conference))and# Is of the right subcategory
notevent.review_reservations.where(person: @user.person).any?and# Has not already been reserved by user
notevent.event_ratings.where(person: @user.person).any?and# Has not already reviewed
(event.ratings_by_submitters+event.peer_review_reservations_count)<2and# has neither 2 reviews by peers, nor 2 reservations, nor 1 review 1 reservation
(event.ratings_by_submitters+event.peer_review_reservations_count)<5and# Has less than 5 reviews + reservations by peers
notevent.people.where(id: @user.person.id).any?and# Submitter is not part of
event.current_state.in?([:submission_finished,:review])and# submission has the correct state
@conference.ip_peer_review_deadline>DateTime.nowand# Deadline did not end
(@user.person.review_reservations.peer_reservations.count+@user.person.event_ratings.peer_reviews.count)<2# does not have 2 reviews, 2 reservations or one review + 1 reservation
(@user.person.review_reservations.peer_reservations.count+@user.person.event_ratings.peer_reviews.count)<5# Has less than 5 reviews + reservations
end
# Can free an event from reservation if it was reserved as a peer by the user
...
...
@@ -232,13 +226,12 @@ class Ability
event.current_state.in?([:submission_finished,:review])and# Submission as been finished
notevent.review_reservations.where(person: @user.person).any?and# Did not already reserve
notevent.event_ratings.where(person: @user.person).any?and# Did not already review
event.subcategory.in?@user.subcategories_assigned_to_in(@conference)and# Is of the right subcategory
ifevent.is_special_session?
notevent.conference.ss_review_deadline.past?and# Special Session Review Deadline not over
(event.expert_review_reservations_count+event.ratings_by_reviewers)<2# Event does not have either 2 Reservations or 2 Reviews or 1 Reservation and 1 Review
(event.expert_review_reservations_count+event.ratings_by_reviewers)<5# Event does not have either 5 Reservations + Reviews
else
notevent.conference.ip_expert_review_deadline.past?and# Individual Paper Review Deadline not over
(event.expert_review_reservations_count+event.ratings_by_reviewers)<1# Event is neither reserved nor reviewed by an expert
(event.expert_review_reservations_count+event.ratings_by_reviewers)<5# Event is neither reserved nor reviewed by an expert
=f.input:relevance,collection: 1..5,include_blank: false,hint: 'Please assess on scale 1-5 how relevant the proposal is to the conference theme (1-12) under which it is submitted.',label: 'Thematic relevance'
=f.input:quality,collection: 1..5,include_blank: false,hint: 'Please asses the scientific quality of the presentation in relation to the quality you expect from the International degrowth conference?'
=f.input:relevance,collection: 1..5,include_blank: false,hint: 'Please assess on scale 1-5 how relevant the proposal is to the conference themes under which it is submitted.',label: 'Thematic relevance'
=f.input:quality,collection: 1..5,include_blank: false,hint: 'Please assess the scientific quality of the presentation in relation to the quality you expect from the International degrowth conference?'
=f.input:clarity,collection: 1..5,include_blank: false,hint: 'Is the abstract well structured? Is the argument clear? Please rate on a scale below.',label: 'Clarity of Presentation'
=f.input:originality,collection: 1..5,include_blank: false,hint: 'Are the methods or the approach innovative for the degrowth discussions? Do they promise new relevant results? Does this abstract show something of novelty? Please rate on scale below.'
=f.input:confluence,collection: 1..5,include_blank: false,hint: 'Does this proposal link different research disciplines or different stakeholders in a unique path towards degrowth? Please rate on a scale below.',label: 'Disciplinary Confluence'
=f.input:regionality,as: :boolean,hint: 'Does this proposal refer to degrowth perspectives from the context of European eastern and southern semiperiphery*?',label: 'Regional contextualisation'
=f.input:comment,:input_html=>{:rows=>3}
%p
*There are almost as many definitions of Eastern Europe as there are scholars of the region. Southern Europe
and Mediterranean fare no better. That is why we use the term semiperiphery. For the purposes of this
conference you may consider this region to include geographical, geopolitical and socioeconomic regions of
Baltic European states, former Warsaw pact countries, Russian Federation, Central and Eastern
European members of the EU, Eastern Mediterranean including Turkey, Greece, Israel and Palestine.
The Balkans, Italy and Iberian Peninsula may also be included.
=f.input:contribution_abstract,label: 'Title and description',:input_html=>{:rows=>16,:maxlength=>1700},hint: 'Limited to 1700 characters (with spaces).'
=f.input:contribution_abstract,label: 'Title and description',:input_html=>{:rows=>16,:maxlength=>10000},hint: 'Limited to 10000 characters (with spaces).'
.actions
-if@event.contributor_count<2
=f.button:submit,'Continue and add the next contributor',class: 'primary'
=dynamic_association:links,t("cfp.links"),f,:hint=>'You can add external links relevant to your proposal here. This is optional and does not replace description of the session contributions through this interface.'
=dynamic_association:event_attachments,t("cfp.uploaded_files"),f,:hint=>'You can upload your session submission in file format here. This is optional. The file will not be visible to reviewers, and will not replace submitting information through this interface.'
=f.input:clarity,collection: 1..5,include_blank: false,hint: 'Is the abstract well structured? Is the argument clear? Please rate on a scale below.',label: 'Clarity of Presentation'
=f.input:originality,collection: 1..5,include_blank: false,hint: 'Are the methods or the approach innovative for the degrowth discussions? Do they promise new relevant results? Does this abstract show something of novelty? Please rate on scale below.'
=f.input:confluence,collection: 1..5,include_blank: false,hint: 'Does this proposal link different research disciplines or different stakeholders in a unique path towards degrowth? Please rate on a scale below.',label: 'Disciplinary Confluence'
=f.input:regionality,as: :boolean,hint: 'Does this proposal refer to degrowth perspectives from the context of European eastern and southern semiperiphery*?',label: 'Regional contextualisation'
-if@event.event_type.in?['Academic Special Session','Research in Action Special Session']
=f.input:coherence,collection: 1..5,include_blank: false,hint: 'Are the individual presentations in this session well tied to each other and well connected with the overall topic of the session?'
=f.input:coherence,collection: 1..5,include_blank: false,hint: 'Are the individual presentations in this session well tied to each other and well connected with the overall topic of the session?'
-if@event.event_type=='Research in Action Special Session'
=f.input:balance,collection: 1..5,include_blank: false,hint: 'Does this special session contain a good balance of research and practice?'
=f.input:comment,:input_html=>{:rows=>3}
%p
*There are almost as many definitions of Eastern Europe as there are scholars of the region. Southern Europe
and Mediterranean fare no better. That is why we use the term semiperiphery. For the purposes of this
conference you may consider this region to include geographical, geopolitical and socioeconomic regions of
Baltic European states, former Warsaw pact countries, Russian Federation, Central and Eastern
European members of the EU, Eastern Mediterranean including Turkey, Greece, Israel and Palestine.
The Balkans, Italy and Iberian Peninsula may also be included.
f.input:contribution_abstract,input_html: {rows: 16,maxlength: 1700},hint: 'You only need to supply a contribution abstract if the person you are adding/editing is a session_contributor'
f.input:contribution_abstract,input_html: {rows: 16,maxlength: 10000},hint: 'You only need to supply a contribution abstract if the person you are adding/editing is a session_contributor'
end
%>
<%=f.input:event_role,:as=>:select,:collection=>EventPerson::ROLES,:hint=>" Coordinators are part of the conference team, they coordinate speaker attendance and events. Submitters answer the cfp to enter events into frab. Speakers take part in events, their availability matters. Moderators take part in panel discussions, their availability matters."%>
=f.input:abstract,:input_html=>{:rows=>16,:maxlength=>1700},:hint=>"Limited to 1700 characters (with spaces)"
=f.input:abstract,:input_html=>{:rows=>16,:maxlength=>10000},:hint=>"Limited to 10000 characters (with spaces)"
=# f.input :description,:input_html => {:rows => 16}, :hint => "A longer description of the event. Use this to give additional details that did not fit in the abstract. Both, abstract and description, will be shown on the conference website. (HTML)"