Program and Cfp theme

This commit is contained in:
Gopesh Tulsyan 2014-06-25 18:08:43 +05:30
parent 2c4101ab45
commit 4ca7217c70
3 changed files with 29 additions and 8 deletions

View file

@ -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