Program and Cfp theme
This commit is contained in:
parent
2c4101ab45
commit
4ca7217c70
3 changed files with 29 additions and 8 deletions
|
|
@ -11,24 +11,25 @@
|
|||
%p
|
||||
= @conference.call_for_papers.description
|
||||
- if !@conference.call_for_papers.start_date.blank? && !@conference.call_for_papers.end_date.blank?
|
||||
%p Proposals will be accepted between
|
||||
#{ date_string(@conference.call_for_papers.start_date, @conference.call_for_papers.end_date) }
|
||||
%p.lead Proposals will be accepted between
|
||||
#cfp-date
|
||||
= date_string(@conference.call_for_papers.start_date, @conference.call_for_papers.end_date)
|
||||
- if @conference.cfp_open?
|
||||
- if @conference.call_for_papers.end_date.to_time < Time.now
|
||||
%p Today is the last day. Hurry Up!
|
||||
- else
|
||||
.row
|
||||
.col-md-8.col-md-offset-3
|
||||
%div.col-md-2
|
||||
%div.col-md-2.timer-box
|
||||
%h2#days
|
||||
%p Days
|
||||
%div.col-md-2
|
||||
%div.col-md-2.timer-box
|
||||
%h2#hours
|
||||
%p Hours
|
||||
%div.col-md-2
|
||||
%div.col-md-2.timer-box
|
||||
%h2#minutes
|
||||
%p Minutes
|
||||
%div.col-md-2
|
||||
%div.col-md-2.timer-box
|
||||
%h2#seconds
|
||||
%p Seconds
|
||||
.row
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
%div.col-md-12
|
||||
%h2 Tracks
|
||||
- @conference.tracks.each do |t|
|
||||
%div{ class: (@conference.tracks.count.to_i <= 2 ? "col-md-#{12/@conference.tracks.count.to_i}" : "col-md-4") }
|
||||
%div.tracks{ class: (@conference.tracks.count.to_i <= 2 ? "col-md-#{12/@conference.tracks.count.to_i}" : "col-md-4") }
|
||||
%h4
|
||||
= t.name
|
||||
%p
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue