Let's get serious about linting, folks.
This commit is contained in:
parent
8f43da79b5
commit
27f6d8ad73
26 changed files with 341 additions and 235 deletions
|
|
@ -1,32 +1,36 @@
|
|||
- cache [@conference, @conference.venue, '#splash#header'] do
|
||||
- cache [conference, conference.venue, '#splash#header'] do
|
||||
#banner
|
||||
.container
|
||||
.row
|
||||
.col-md-8.col-md-offset-2#header
|
||||
.row
|
||||
.col-md-4
|
||||
= image_tag(@conference.picture_url, class: 'img-responsive img-center', id: 'splash-logo') if @conference.picture?
|
||||
- if conference.picture?
|
||||
= image_tag(conference.picture_url,
|
||||
class: 'img-responsive img-center',
|
||||
id: 'splash-logo')
|
||||
.col-md-8
|
||||
%h1
|
||||
= @conference.title
|
||||
= conference.title
|
||||
%h3
|
||||
- if @conference.start_date && @conference.end_date
|
||||
- if conference.start_date && conference.end_date
|
||||
%span.date.text-nowrap
|
||||
= date_string(@conference.start_date, @conference.end_date)
|
||||
- if @conference.venue
|
||||
= date_string(conference.start_date, conference.end_date)
|
||||
- if conference.venue
|
||||
%span.venue.text-nowrap
|
||||
- if @conference.venue.website
|
||||
= sanitize link_to(@conference.venue.name, @conference.venue.website)
|
||||
- if conference.venue.website
|
||||
= sanitize link_to(conference.venue.name,
|
||||
conference.venue.website)
|
||||
- else
|
||||
= @conference.venue.city
|
||||
- if @conference.venue.country_name != 'US'
|
||||
= conference.venue.city
|
||||
- if conference.venue.country_name != 'US'
|
||||
•
|
||||
= @conference.venue.country_name
|
||||
= conference.venue.country_name
|
||||
|
||||
- unless @conference.description.blank?
|
||||
- unless conference.description.blank?
|
||||
%section#about
|
||||
.container
|
||||
.row
|
||||
.col-md-8.col-md-offset-2
|
||||
%h3.text-center
|
||||
= markdown(@conference.description)
|
||||
= markdown(conference.description)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue