Merge fd24530965 into 2e89920954
This commit is contained in:
commit
93d09d12f7
2 changed files with 34 additions and 0 deletions
30
app/views/conferences/_call_for_booths.html.haml
Normal file
30
app/views/conferences/_call_for_booths.html.haml
Normal file
|
|
@ -0,0 +1,30 @@
|
|||
= content_for :splash_nav do
|
||||
%li
|
||||
%a.smoothscroll{ href: '#callforbooths' } Call For Booths
|
||||
|
||||
.container
|
||||
.row
|
||||
.col-md-12.text-center
|
||||
%h2
|
||||
Call for Booths
|
||||
%p.lead
|
||||
We are ready to accept requests for booths!
|
||||
.row
|
||||
.col-md-6.col-md-offset-3.col-sm-10.col-sm-offset-1
|
||||
%p
|
||||
The submission period for booth requests has begun
|
||||
%em.notranslate
|
||||
= @conference.program.cfps.for_booths.start_date.strftime('%A, %B %-d. %Y')
|
||||
and closes
|
||||
%em.notranslate
|
||||
= @conference.program.cfps.for_booths.end_date.strftime('%A, %B %-d. %Y.')
|
||||
- if @conference.program.cfps.for_booths.try(:open?)
|
||||
That means you have only
|
||||
%b.notranslate= pluralize(@conference.program.cfps.for_booths.remaining_days, 'day')
|
||||
left!
|
||||
- else
|
||||
The submission period for booth requests is closed.
|
||||
.row
|
||||
.col-md-12.text-center
|
||||
%p.cta-button
|
||||
= link_to "Submit your request for booth", conference_booths_path(@conference.short_title), class: 'btn btn-success btn-lg text-center'
|
||||
|
|
@ -53,6 +53,10 @@
|
|||
%section#callfortracks
|
||||
= render 'call_for_tracks'
|
||||
|
||||
- if @conference.program.cfps.for_booths.try(:open?) && @conference.splashpage.include_cfp
|
||||
%section#callforbooths
|
||||
= render 'call_for_booths'
|
||||
|
||||
- if @conference.venue and @conference.splashpage.include_venue
|
||||
%section#venue
|
||||
= render 'venue'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue