From 73434bc495d32e5f46a1af012fb9c6b74e64b3b6 Mon Sep 17 00:00:00 2001 From: "Veez (Matt Remsik) and Stephen Caudill" Date: Thu, 26 Feb 2009 14:22:58 -0500 Subject: [PATCH] Clean up featured pitch partial for carousel --- app/views/homes/_featured_pitch.html.haml | 8 -------- app/views/homes/show.html.haml | 13 +++++++++++-- 2 files changed, 11 insertions(+), 10 deletions(-) diff --git a/app/views/homes/_featured_pitch.html.haml b/app/views/homes/_featured_pitch.html.haml index 3e5f61eba..2840e51aa 100644 --- a/app/views/homes/_featured_pitch.html.haml +++ b/app/views/homes/_featured_pitch.html.haml @@ -1,9 +1,4 @@ %li.pitch_carousel - %h3.float-left{:style => "color: red;"} - %strong Help Fund this Story - .float-right - %span= link_to "View more Pitches »", news_items_path - .double_content_border.clear .featured_image.span-220 = link_to image_tag(featured_pitch.featured_image.url(:medium)), featured_pitch .double_content_border @@ -23,6 +18,3 @@ = truncate_words(featured_pitch.short_description, 50) =# h featured_pitch.short_description = link_to 'Read More »', featured_pitch - %h5.quiet{:style=>"margin:0;"} - If you want to see this story researched, written, and published, - click donate to help fund it! diff --git a/app/views/homes/show.html.haml b/app/views/homes/show.html.haml index cbcfd47cd..6668d7768 100644 --- a/app/views/homes/show.html.haml +++ b/app/views/homes/show.html.haml @@ -16,10 +16,19 @@ %p Text about making the first story - else #pitches_carousel + %h3.float-left{:style => "color: red;"} + %strong Help Fund this Story + .float-right + %span= link_to "View more Pitches »", news_items_path + .double_content_border.clear %ul = render :collection => @featured, :partial => 'featured_pitch' - %a.next next - %a.prev prev + .float-right + %a.next next + %a.prev prev + %h5.quiet{:style=>"margin:0;"} + If you want to see this story researched, written, and published, + click donate to help fund it! .clear - # spotus_ie_pixel.gif is an IE fix %img{:src=>"../images/spotus_ie_pixel.gif"}