tweaks to homepage

This commit is contained in:
Stephanie Wilkinson 2017-09-29 14:46:32 -07:00
parent a820896b51
commit a531e15735
2 changed files with 2 additions and 2 deletions

View file

@ -12,7 +12,7 @@
= date_string(conference.start_date, conference.end_date) = date_string(conference.start_date, conference.end_date)
- if conference.venue - if conference.venue
%p %p
= "#{conference.venue.city}/#{conference.venue.country_name}" = "#{conference.venue.name} / #{conference.venue.city}"
- unless conference.description.blank? - unless conference.description.blank?
%p %p
= markdown(conference.description) = markdown(conference.description)

View file

@ -2,7 +2,7 @@
.row .row
.col-md-12 .col-md-12
.page-header .page-header
%h2 Upcoming Conferences %h2 Upcoming Events
- @current.each do |conference| - @current.each do |conference|
= render partial: 'conference_details', locals: { conference: conference } = render partial: 'conference_details', locals: { conference: conference }
-if @antiquated and @antiquated.any? -if @antiquated and @antiquated.any?