Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Tweak presentation of CFP info on events#show

  • Loading branch information...
commit 625bcf85207c986b094562e10828ca058dd443dd 1 parent 316212e
Keavy McMinn authored
Showing with 3 additions and 2 deletions.
  1. +3 −2 app/views/events/show.html.haml
View
5 app/views/events/show.html.haml
@@ -21,8 +21,9 @@
= link_to @latest.www, @latest.url, :class => 'primary'
- if @latest.cfp_open?
- %p.cfp CFP is open
- %p="Closes: #{format_date(@latest.cfp_closes_at)}" if @latest.cfp_closes_at.present?
+ %p.cfp
+ = "CFP is open "
+ = " (Closes #{format_date(@latest.cfp_closes_at)})" if @latest.cfp_closes_at.present?
= link_to @latest.cfp_url if @latest.cfp_url.present?
= render :partial => 'map', :locals => {:latlng => @latest.location.lat_long } if @latest.location && @latest.location.lat_long
Please sign in to comment.
Something went wrong with that request. Please try again.