From 453133a26b57e28e7172adcf964c89ae2eb2d7c4 Mon Sep 17 00:00:00 2001 From: Henne Vogelsang Date: Wed, 26 Jun 2013 17:37:29 +0200 Subject: [PATCH] Fix the homepage and proposal views for mobile --- app/views/home/index.html.erb | 5 +++-- app/views/proposal/show.html.haml | 6 ++++-- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/app/views/home/index.html.erb b/app/views/home/index.html.erb index 7724f8b2..ab019c3c 100644 --- a/app/views/home/index.html.erb +++ b/app/views/home/index.html.erb @@ -5,8 +5,9 @@ <% @conferences.each do |conference| %> -
+
+
<%= image_tag conference.logo(:original) %> @@ -44,7 +45,7 @@
- +
<% end %> diff --git a/app/views/proposal/show.html.haml b/app/views/proposal/show.html.haml index 07aeada2..5684226b 100644 --- a/app/views/proposal/show.html.haml +++ b/app/views/proposal/show.html.haml @@ -36,8 +36,7 @@ -else %iframe{:width=>"560", :height=>"315", :frameborder=>"0", :allowfullscreen=>"true", :src=>"http://www.youtube.com/embed/Eiv4e5ZxTmg?rel=0"} .row-fluid - .span12 - = image_tag @event.submitter.gravatar_url(:size => 200), :class => "img-rounded pull-right" + .span8 %h3 by = @event.submitter.public_name @@ -48,4 +47,7 @@ = @event.submitter.company -if @event.submitter.biography = simple_format(@event.submitter.biography) + .span4 + = image_tag @event.submitter.gravatar_url(:size => 200), :class => "img-rounded pull-right", :style => "margin: 8px;" +