Removed conference_date_string_helper, moved date_string to application_controller
Deleted home_helper.rb
This commit is contained in:
parent
85e9fdc643
commit
c68c6394bc
6 changed files with 34 additions and 40 deletions
|
|
@ -11,7 +11,7 @@
|
|||
- if @conference.start_date && @conference.end_date
|
||||
.row
|
||||
%h3
|
||||
= conference_date_string(@conference)
|
||||
= date_string(@conference.start_date, @conference.end_date)
|
||||
|
||||
- unless @conference.description.blank?
|
||||
.row-fluid
|
||||
|
|
|
|||
|
|
@ -9,7 +9,7 @@
|
|||
= conference.title
|
||||
%small
|
||||
%b
|
||||
= conference_date_string(conference)
|
||||
= date_string(conference.start_date, conference.end_date)
|
||||
- if conference.venue.name and conference.venue.website and conference.venue.address
|
||||
%p
|
||||
%small
|
||||
|
|
@ -32,4 +32,4 @@
|
|||
- if !current_user.nil? && current_user.proposal_count(conference) > 0
|
||||
= link_to "View My Proposals", conference_proposal_index_path(conference.short_title), :class =>"btn btn-default"
|
||||
- elsif conference.cfp_open?
|
||||
= link_to "Submit Proposal", conference_proposal_index_path(conference.short_title), :class =>"btn btn-default"
|
||||
= link_to "Submit Proposal", conference_proposal_index_path(conference.short_title), :class =>"btn btn-default"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue