Introduce Program to include cfp/rooms/tracks/events/event_types/difficulty_levels

This commit is contained in:
Stella Rouzi 2015-10-25 13:29:02 +02:00 committed by Henne Vogelsang
parent 028b82fda8
commit 444356fbc7
117 changed files with 1812 additions and 905 deletions

View file

@ -1,20 +1,20 @@
%p.lead
- if @conference.event_types.any?
- if @program.event_types.any?
You can submit proposals for
= "#{event_types(@conference)}."
- if @conference.tracks.any?
- if @program.tracks.any?
Proposals should fit in one of the
= "#{pluralize(@conference.tracks.count, 'track')}:"
= "#{pluralize(@program.tracks.count, 'track')}:"
= "#{tracks(@conference)}."
- if @conference.cfp_open?
- if @program.cfp_open?
The submission period has begun
%em
= @conference.call_for_paper.start_date.strftime('%A, %B %-d. %Y')
= @program.cfp.start_date.strftime('%A, %B %-d. %Y')
and closes
%em
= @conference.call_for_paper.end_date.strftime('%A, %B %-d. %Y.')
= @program.cfp.end_date.strftime('%A, %B %-d. %Y.')
That means you have
%b= pluralize(@conference.call_for_paper.remaining_days, 'day')
%b= pluralize(@program.cfp.remaining_days, 'day')
left!
Remember
= @conference.title