Minor adjustments

This commit is contained in:
Godwin
2014-07-13 17:23:28 -06:00
parent 14792c14f3
commit 62b0bea131
15 changed files with 145 additions and 57 deletions
+8 -2
View File
@@ -5,10 +5,16 @@
.row
.columns.small-12.banner
%figure
%img{src: @conference.poster_url}
%img{src: @conference.poster.full.url}
.columns.medium-8.align-bottom
- title = @conference.conference_type.slug == 'bikebike' ? 'Bike!Bike! '+@conference.start_date.year.to_s : @conference.title
%div
%h1='Bike!Bike! '+@conference.start_date.year.to_s
%h1
- if params['controller'] == 'conferences' && params['action'] == 'show'
= title
- else
%a{href: @conference.url}
= title
%h2
- location = @conference.organizations.first.locations.first
= location.city + ', ' + (location.territory ? Carmen::Country.coded(location.country).subregions.coded(location.territory).name : location.country)
+5 -2
View File
@@ -9,8 +9,11 @@
%article.row
.columns.large-10
%h2=('About '+@conference.title)
%p=@conference.info.html_safe
- if @register_step
%h2='Register!'
- else
%h2=('About '+@conference.title)
=p @conference, :info
- content_for :side_bar do
%h5= @conference.title+' is hosted by:'