Let's get serious about linting, folks.
This commit is contained in:
parent
8f43da79b5
commit
27f6d8ad73
26 changed files with 341 additions and 235 deletions
30
app/views/conferences/_call_for_papers.haml
Normal file
30
app/views/conferences/_call_for_papers.haml
Normal file
|
|
@ -0,0 +1,30 @@
|
|||
- cache [conference, conference.call_for_events, conference.confirmed_tracks,
|
||||
'#splash#callforpapers'] do
|
||||
.col-md-5.col-sm-5.text-center
|
||||
%h2
|
||||
Call for Papers
|
||||
%p.lead
|
||||
We are now accepting proposals for sessions!
|
||||
%p
|
||||
- if conference.event_types.any?
|
||||
You can submit proposals for
|
||||
%span.notranslate
|
||||
= event_types(conference) + '.'
|
||||
- if conference.confirmed_tracks.any?
|
||||
Proposals should fit in one of the
|
||||
%span.notranslate
|
||||
= pluralize(conference.confirmed_tracks.length, 'track') + ':'
|
||||
= tracks(conference) + '.'
|
||||
- if conference.call_for_events.try(:open?)
|
||||
The submission period is open
|
||||
%em.notranslate
|
||||
= date_string(conference.call_for_events.start_date,
|
||||
conference.call_for_events.end_date) + '.'
|
||||
%b
|
||||
You have
|
||||
= pluralize(conference.call_for_events.remaining_days, 'day')
|
||||
left!
|
||||
%p.cta-button
|
||||
= link_to "Submit your proposal now",
|
||||
conference_program_proposals_path(conference.short_title),
|
||||
class: 'btn btn-success btn-lg text-center'
|
||||
Loading…
Add table
Add a link
Reference in a new issue