Consistent design and code cleanup of splashpage elements.

* get rid of unnecessary slice()
* center up small groups of elements
* consistent text use FIXME: extract out strings
* consistent date strings
* simplified views for easier theming
This commit is contained in:
James Mason 2017-11-21 18:31:14 -08:00
parent f0c3fc357b
commit aee1f58607
7 changed files with 48 additions and 92 deletions

View file

@ -4,7 +4,7 @@
%h2
Call for Papers
%p.lead
We are ready to accept your proposals for sessions!
We are now accepting proposals for sessions!
%p
- if @conference.event_types.any?
You can submit proposals for
@ -24,14 +24,7 @@
You have
= pluralize(@conference.call_for_events.remaining_days, 'day')
left!
Remember
%span.notranslate
= @conference.title
will only be as good as the sessions you present.
Submit early, submit often!
- else
The submission period is closed.
%p.cta-button
= link_to "Submit your paper now",
= link_to "Submit your proposal now",
conference_program_proposals_path(@conference.short_title),
class: 'btn btn-success btn-lg text-center'